InterviewBit Problems   Nearest Smaller Element : Solved

About the Nearest Smaller Element : Solved category (1)
Short and simple c++ code (1)
Easy C++ O(n) approach (1)
Can't figure out the mistake :( (1)
A simple solution using stack (1)
Easy stack approach in C++ (1)
Readable O(n) solution using stacks in C++ (with comments) (3)
Brute force and optimised solution (1)
[C++] Simple 4 lines code (1)
Java code using stack (1)
O(n) c++ solution! (1)
Simple short sweet (1)
Very easy and short c++ sol. straight forward approach! (1)
For Those Who Are Looking For Understable Sol. In JAVA ----> (1)
Is the stack needed? (5)
Python O(n) solution without using stack (1)
Partially correct solution but easy (1)
Python Stack Implementation (1)
Nearest Smaller Element (2)
Easy java solution Using Stack (1)
Solution for beginners ,easy to understand (1)
Fastest C++ solution (1)
Easy solution in python 2.7 (1)
Python Solution with Stack (1)
Here is the partially correct answer O(n^2) (1)
Java solution without stack (1)
Why this is giving Time Limit Exceeded? This code as per Solution Approach. Somebody help in optimising it (1)
Easy CPP Solution (3)
DP solution without using stack (1)
O(n) solution using stack (1)