Advertisement

Whiteboard Interview Part 8 | Find Next Greater Element in an array for each element

Whiteboard Interview Part 8 | Find Next Greater Element in an array for each element Whiteboard Interview - Data Structures and Algorithms | Find Next Greater Element in an array for each element
Blog:
Playlist:
Check our courses:
Suggested Problems to solve:
- Given an array, print the next smaller element for every element.
- The Stock Span Problem: Given a list of prices of a single stock for N number of days, find the stock span for each day.
- Find the largest rectangular area possible in a given histogram where the largest rectangle can be made of a number of contiguous bars.
- Given an array, for each element find the value of nearest element to the right which is having frequency greater than as that of current element.
- Given an array of distinct elements, print the closest greater element for every element.
- Given an array of distinct elements, find the previous greater element for every element.
- Check for balanced parentheses in an expression
- Given a collection of intervals, merge all overlapping intervals.

This series will help you to crack interview of companies like Google, Facebook, Microsoft, Amazon, and etc.
Please Subscribe! And like. And comment. That's what keeps us going.

Want more tutorials? Visit us:
Website:
Medium:

Connect with us here:
Twitter:
Facebook:

Coding,Software,Tutorial,Google,Interview,Microsoft,Amazon,Algorithms,DSA,AfterAcademy,Whiteboard,

Post a Comment

0 Comments