AMD Interview Question
- 0of 0 votes
The question is basically on trees- Noob January 19, 2020 in United States
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
Open Chat in New Window