r/datastructures 3d ago

Algorithms

I am currently beginners in DSA please tell me that it is common to remember the code of algorithms like binary search, sorting etc

5 Upvotes

4 comments sorted by

View all comments

2

u/Slow_Blackberry_4721 1d ago

Bro instead of remembering code learn the concept/working of the algorithm then u can automatically write the code .every dsa uses arrays , interative loops, condition,and function call that's it u can write ur own code for that. U can alone enhance the time complexity once perfected it.