Use of AVL trees

where and in which type of questions can we use the concept of AVL trees.
Can you please give few examples of the questions where we can use this

@apoorvsingh27,

AVL trees are used frequently for quick searching as searching takes O(Log n) because tree is balanced.

Where as insertion and deletions are comparatively more tedious and slower as at every insertion and deletion, it requires re-balancing.

Hence, AVL trees are preferred for application, which are search intensive.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.