Locking and unlocking of an n-array tree. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Locking and unlocking of an n-array tree.

Can u guys link the code for locking and unlocking of an n -array tree..

20th Sep 2020, 5:43 AM
Suhail Ahmad
Suhail Ahmad - avatar
2 Answers
+ 1
I suppose you're referring to locking/unlocking resources (as in multi-threading environments). This might be helpful: https://www.geeksforgeeks.org/locking-and-unlocking-of-resources-in-the-form-of-n-ary-tree/#:~:text=Given%20an%20n%2Dary%20tree,descendant%20or%20ancestor%20is%20locked.
22nd Sep 2020, 1:59 PM
Mihai Iacov
Mihai Iacov - avatar
0
Can u link me a code ..please.
22nd Sep 2020, 3:14 PM
Suhail Ahmad
Suhail Ahmad - avatar