Amazon Interview Report
- 0of 0 votes
AnswersConvert a binary tree to a binary search tree... inplace...
- bindas September 01, 2008| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 1of 0 votes
AnswersPrint a binary tree in zig zag way... that is:
- bindas September 01, 2008
......a.........
....b....c.......
..d...e...f...g..
.h.i.j.k.l.m.n.o.
should be printed as a-c-b-d-e-f-g-o-n-m-l-k-j-i-h
what data structure will u use for that?| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 0of 0 votes
AnswersIn a binary tree if the neighbours are set on fire for every node , find the path to optimally set the entire tree on fire.
- neer.1304 May 31, 2019 in India| Report Duplicate | Flag | PURGE
Swiggy SDE-2 Algorithm - 0of 0 votes
AnswersUse the location data getting generated from multiple delivery boys moving on the ground to estimate time which a delivery boy will take to move from point A to point B in an area. Additionally, try to do this in real time so that it can be used in assigning delivery boys and minimising delivery time in real time.
- neer.1304 May 31, 2019 in India| Report Duplicate | Flag | PURGE
Swiggy SDE-2 design - 0of 0 votes
AnswersGiven an input stream of Swiggy order timestamps and costs, at any instant find the costliest order in the last X mins
- neer.1304 May 31, 2019 in India| Report Duplicate | Flag | PURGE
Swiggy SDE-2 Algorithm