Noob
BAN USER
Employee at None
Questions (3)
Reputation 20
- 0of 0 votes
AnswersThe question is basically on trees
- Noob in United States
1
2 3
4 5 6 7
You can lock any node, Once the node is locked all the ancestors and descendents of that node are also locked. You cannot acquire a lock on a node which is already locked.
You can unlock the node on which you have acquired a lock.
Implement it using multithreading.| Report Duplicate | Flag | PURGE
AMD Algorithm
Page:
1
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.