You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many code snippets can be used as libraries if we shift from functional paradigm to OOP paradigm and can even further simplify code writing in cases of question where more than one data structures are required.
The text was updated successfully, but these errors were encountered:
For example, if we put code snippet of the segment tree in a class, with other methods. We can simply import the class and use the DS. It will also be helpful if we are working on a question in which two segment trees are required. We can simply work with objects of two trees.
Many code snippets can be used as libraries if we shift from functional paradigm to OOP paradigm and can even further simplify code writing in cases of question where more than one data structures are required.
The text was updated successfully, but these errors were encountered: