How to remember/study so many patterns for all data-structures and algos?

Hi,

I have 11+ YOE and has been preparing for faang interviews from long time.
SInce I have become rusty with DS and Algos, I'm finding it hard and intimidating to remember so many patterns in all types of DS. For e.g. if we just consider Graph, below is list of different patterns:

  • Adj List
  • Adj Matrix
  • DFS
  • BFS
  • Union Find
  • Bipartite
  • Topological sort
  • MST
  • Dijstra's
  • Bellman Ford
  • And many more algos

If I plan to first learn the concept and then solve problems for each of them, it will take a month for me to just study graph.

Please help as I'm getting overwhelmed day by day by the amount of things to study and remember of the interviews.

Comments (1)