Related to Buy and Sell of stock and gain maximum profit. Only 1 unit to buy or sell at a time.
Reference : GeeksforGeeks Link
Given a Tree (it was a BST), replace the data of all nodes which have data >= the node's data.
Solution : GeeksforGeeks Link
(Even the example was same from above link ;))
Round 2 : DS and Algo (F2F) (3 Questions)
Program for n’th node from the end of a Linked List
Solution : GeeksforGeeks Link
Print min & max (both) of all subarray of size k
Reference : GeeksforGeeks Link
Note : The reference link is just for min or max. Here we need both min and max in one program.
Find the k most frequent words from a file (or a stream of input)
Solution : GeeksforGeeks Link
Result : I was eliminated due to some basic mistakes I did (in Q3), which I just realized after leaving the Interview room. It was a nice experience.
I would also like to share few more Questions those were asked to other candidates over there :
Design Debugger (Asked to almost everyone in 2nd Round)
The Interviewers were very friendly and helpful. They will help you whenever you get stuck (with Hints), but they will also check how much grab you have on basics.
Thank You!!!... Hope this will help the aspiring candidates.