5-Week Python DSA Master Plan (with Free
Resources)
This 5-week roadmap helps you master Python and Data Structures & Algorithms (DSA) using
100% free resources. Daily plan includes learning, coding, and revision with links to LeetCode,
HackerRank, YouTube, and GFG.
Week 1 – Python Basics + Arrays + Strings
Learn Python syntax, loops, lists, strings, and solve beginner problems. Resources: freeCodeCamp
Python Course, W3Schools, NeetCode Arrays Problems: Two Sum, Move Zeroes, Valid Anagram,
Best Time to Buy/Sell Stock.
Week 2 – Hashmaps, Sets, Stack, Queue
Understand dictionaries, sets, stacks, queues, and hashing. Resources: freeCodeCamp DSA in
Python, TechWithTim Stacks & Queues Problems: Valid Parentheses, Implement Queue using
Stacks, Top K Frequent Elements.
Week 3 – Linked Lists, Recursion, Searching & Sorting
Learn Linked Lists, Recursion, Binary Search, Sorting. Resources: Kunal Kushwaha DSA, GFG
Sorting Algorithms, freeCodeCamp. Problems: Reverse Linked List, Merge Two Sorted Lists,
Binary Search, Merge Sort.
Week 4 – Trees & Graphs
Understand Trees, BST, BFS, DFS, and Graphs. Resources: NeetCode Trees & Graphs, GFG
Graph Basics. Problems: Maximum Depth of Binary Tree, Number of Islands, Validate BST.
Week 5 – Dynamic Programming + Greedy + Revision
Master DP (memoization/tabulation), greedy algorithms, and full revision. Resources: TechWithTim
DP, NeetCode DP Playlist, GFG DP. Problems: Climbing Stairs, Coin Change, House Robber,
Jump Game.
Daily Study Routine
Time Task
30–45 mins Learn new concept (YouTube / article)
60–90 mins Solve 2–3 problems on LeetCode / HackerRank
30 mins Revise and note key points
Useful Free Platforms
[Link] Roadmap – [Link] HackerRank Interview Kit –
[Link] freeCodeCamp YouTube –
[Link] GeeksforGeeks – [Link]
Visualgo (for visualization) – [Link] TheAlgorithms Python GitHub –
[Link]