mandliya / algorithms_and_data_structures

180+ Algorithm & Data Structure Problems using C++
GNU General Public License v2.0
5.94k stars 1.32k forks source link

algorithms_and_data_structures/stack_problems/ #187

Open madhvi02 opened 3 years ago

madhvi02 commented 3 years ago

HEY I would like to add one question which seems to be important from my point of view: Ques: Next largest element to the left of an element. If there is no largest element then return -1 for that element. Eg: 1 2 6 5 4 output: -1 -1 -1 6 5 I would like to code it in C++. Please allow me to work on this issue @mandliya

PrakarshSingh5 commented 1 year ago

plz assign it me