upgrade.server
BAN USER- 0of 0 votes
AnswersTwo trees are given. Write a function to check if both of these trees are isotropic. Isotropic trees are those, when flipping few of the child nodes of a tree make both the trees equal. For e.g
- upgrade.server in India
.......1......
...2.......3.
.........4...5
......1.......
...3.......2..
.4....5.......
both of these are isotropic. If we flip the node with value 2 and 3 in the second tree then both trees will be equal.| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 0of 0 votes
Answersthere are N members in a team. You have given a schedule of meetings for each member like startTime and finishTime. business hrs are given e.g. 8-18. Now you have to arrange a meeting for D duration such that all of the members can attend the meeting without conflicting with their schedule.
- upgrade.server in India
For e.g.
No. of members in the team=3
each members meeting start time and finish time are:
M1 - 8-11
m2 - 12-15
m3 - 15-18
business hrs 8-18
meeting duration 1 hrs
then the meeting slot can be 11-12 when all members are free.
if meeting cant be arranged between business hrs then return "meeting cant be arranged".| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer