Python Cheatsheet
❤5👍1
30-days learning plan to master Data Structures and Algorithms (DSA) and prepare for coding interviews.
### Week 1: Foundations and Basic Data Structures
Day 1-3: Arrays and Strings
- Topics to Cover:
- Array basics, operations (insertion, deletion, searching)
- String manipulation
- Two-pointer technique, sliding window technique
- Practice Problems:
- Two Sum
- Maximum Subarray
- Reverse a String
- Longest Substring Without Repeating Characters
Day 4-5: Linked Lists
- Topics to Cover:
- Singly linked list, doubly linked list, circular linked list
- Common operations (insertion, deletion, reversal)
- Practice Problems:
- Reverse a Linked List
- Merge Two Sorted Lists
- Remove Nth Node From End of List
Day 6-7: Stacks and Queues
- Topics to Cover:
- Stack operations (push, pop, top)
- Queue operations (enqueue, dequeue)
- Applications (expression evaluation, backtracking, breadth-first search)
- Practice Problems:
- Valid Parentheses
- Implement Stack using Queues
- Implement Queue using Stacks
### Week 2: Advanced Data Structures
Day 8-10: Trees
- Topics to Cover:
- Binary Trees, Binary Search Trees (BST)
- Tree traversal (preorder, inorder, postorder, level order)
- Practice Problems:
- Invert Binary Tree
- Validate Binary Search Tree
- Serialize and Deserialize Binary Tree
Day 11-13: Heaps and Priority Queues
- Topics to Cover:
- Binary heap (min-heap, max-heap)
- Heap operations (insert, delete, extract-min/max)
- Applications (heap sort, priority queues)
- Practice Problems:
- Kth Largest Element in an Array
- Top K Frequent Elements
- Find Median from Data Stream
Day 14: Hash Tables
- Topics to Cover:
- Hashing concept, hash functions, collision resolution (chaining, open addressing)
- Applications (caching, counting frequencies)
- Practice Problems:
- Two Sum (using hash map)
- Group Anagrams
- Subarray Sum Equals K
### Week 3: Algorithms
Day 15-17: Sorting and Searching Algorithms
- Topics to Cover:
- Sorting algorithms (quick sort, merge sort, bubble sort, insertion sort)
- Searching algorithms (binary search, linear search)
- Practice Problems:
- Merge Intervals
- Search in Rotated Sorted Array
- Sort Colors
- Find Peak Element
Day 18-20: Recursion and Backtracking
- Topics to Cover:
- Basic recursion, tail recursion
- Backtracking (N-Queens, Sudoku solver)
- Practice Problems:
- Permutations
- Combination Sum
- Subsets
- Word Search
Day 21: Divide and Conquer
- Topics to Cover:
- Basic concept, merge sort, quick sort, binary search
- Practice Problems:
- Median of Two Sorted Arrays
- Pow(x, n)
- Kth Largest Element in an Array (using divide and conquer)
- Maximum Subarray (using divide and conquer)
### Week 4: Graphs and Dynamic Programming
Day 22-24: Graphs
- Topics to Cover:
- Graph representations (adjacency list, adjacency matrix)
- Traversal algorithms (DFS, BFS)
- Shortest path algorithms (Dijkstra's, Bellman-Ford)
- Practice Problems:
- Number of Islands
Day 25-27: Dynamic Programming
- Topics to Cover:
- Basic concept, memoization, tabulation
- Common problems (knapsack, longest common subsequence)
- Practice Problems:
- Longest Increasing Subsequence
- Maximum Product Subarray
Day 28: Advanced Topics and Miscellaneous
- Topics to Cover:
- Bit manipulation
- Greedy algorithms
- Miscellaneous problems (trie, segment tree, disjoint set)
- Practice Problems:
- Single Number
- Decode Ways
- Minimum Spanning Tree
### Week 5: Review and Mock Interviews
Day 29: Review and Weakness Analysis
- Activities:
- Review topics you found difficult
- Revisit problems you struggled with
Day 30: Mock Interviews and Practice
- Activities:
- Conduct mock interviews with a friend or use online platforms
- Focus on communication and explaining your thought process
Top DSA resources to crack coding interview
👉 GeekforGeeks
👉 Leetcode
👉 DSA Steps
👉 FreeCodeCamp
👉 Coding Interviews
👉 Best DSA Resources
Join for more: https://t.iss.one/free4unow_backup
ENJOY LEARNING 👍👍
### Week 1: Foundations and Basic Data Structures
Day 1-3: Arrays and Strings
- Topics to Cover:
- Array basics, operations (insertion, deletion, searching)
- String manipulation
- Two-pointer technique, sliding window technique
- Practice Problems:
- Two Sum
- Maximum Subarray
- Reverse a String
- Longest Substring Without Repeating Characters
Day 4-5: Linked Lists
- Topics to Cover:
- Singly linked list, doubly linked list, circular linked list
- Common operations (insertion, deletion, reversal)
- Practice Problems:
- Reverse a Linked List
- Merge Two Sorted Lists
- Remove Nth Node From End of List
Day 6-7: Stacks and Queues
- Topics to Cover:
- Stack operations (push, pop, top)
- Queue operations (enqueue, dequeue)
- Applications (expression evaluation, backtracking, breadth-first search)
- Practice Problems:
- Valid Parentheses
- Implement Stack using Queues
- Implement Queue using Stacks
### Week 2: Advanced Data Structures
Day 8-10: Trees
- Topics to Cover:
- Binary Trees, Binary Search Trees (BST)
- Tree traversal (preorder, inorder, postorder, level order)
- Practice Problems:
- Invert Binary Tree
- Validate Binary Search Tree
- Serialize and Deserialize Binary Tree
Day 11-13: Heaps and Priority Queues
- Topics to Cover:
- Binary heap (min-heap, max-heap)
- Heap operations (insert, delete, extract-min/max)
- Applications (heap sort, priority queues)
- Practice Problems:
- Kth Largest Element in an Array
- Top K Frequent Elements
- Find Median from Data Stream
Day 14: Hash Tables
- Topics to Cover:
- Hashing concept, hash functions, collision resolution (chaining, open addressing)
- Applications (caching, counting frequencies)
- Practice Problems:
- Two Sum (using hash map)
- Group Anagrams
- Subarray Sum Equals K
### Week 3: Algorithms
Day 15-17: Sorting and Searching Algorithms
- Topics to Cover:
- Sorting algorithms (quick sort, merge sort, bubble sort, insertion sort)
- Searching algorithms (binary search, linear search)
- Practice Problems:
- Merge Intervals
- Search in Rotated Sorted Array
- Sort Colors
- Find Peak Element
Day 18-20: Recursion and Backtracking
- Topics to Cover:
- Basic recursion, tail recursion
- Backtracking (N-Queens, Sudoku solver)
- Practice Problems:
- Permutations
- Combination Sum
- Subsets
- Word Search
Day 21: Divide and Conquer
- Topics to Cover:
- Basic concept, merge sort, quick sort, binary search
- Practice Problems:
- Median of Two Sorted Arrays
- Pow(x, n)
- Kth Largest Element in an Array (using divide and conquer)
- Maximum Subarray (using divide and conquer)
### Week 4: Graphs and Dynamic Programming
Day 22-24: Graphs
- Topics to Cover:
- Graph representations (adjacency list, adjacency matrix)
- Traversal algorithms (DFS, BFS)
- Shortest path algorithms (Dijkstra's, Bellman-Ford)
- Practice Problems:
- Number of Islands
Day 25-27: Dynamic Programming
- Topics to Cover:
- Basic concept, memoization, tabulation
- Common problems (knapsack, longest common subsequence)
- Practice Problems:
- Longest Increasing Subsequence
- Maximum Product Subarray
Day 28: Advanced Topics and Miscellaneous
- Topics to Cover:
- Bit manipulation
- Greedy algorithms
- Miscellaneous problems (trie, segment tree, disjoint set)
- Practice Problems:
- Single Number
- Decode Ways
- Minimum Spanning Tree
### Week 5: Review and Mock Interviews
Day 29: Review and Weakness Analysis
- Activities:
- Review topics you found difficult
- Revisit problems you struggled with
Day 30: Mock Interviews and Practice
- Activities:
- Conduct mock interviews with a friend or use online platforms
- Focus on communication and explaining your thought process
Top DSA resources to crack coding interview
👉 GeekforGeeks
👉 Leetcode
👉 DSA Steps
👉 FreeCodeCamp
👉 Coding Interviews
👉 Best DSA Resources
Join for more: https://t.iss.one/free4unow_backup
ENJOY LEARNING 👍👍
❤2👍2
Python Important Star Patterns.
👍7
Useful Cheatsheets for Programmers
👇👇
Data Science Cheatsheet
https://github.com/aaronwangy/Data-Science-Cheatsheet
SQL Cheatsheet
https://learnsql.com/blog/sql-basics-cheat-sheet/
https://t.iss.one/programming_guide/299
https://www.sqltutorial.org/wp-content/uploads/2016/04/SQL-cheat-sheet.pdf
https://t.iss.one/learndataanalysis/442?single
Java Programming Cheatsheet
https://introcs.cs.princeton.edu/java/11cheatsheet/
PHP and Ruby Cheatsheets
https://t.iss.one/programming_guide/300
https://t.iss.one/programming_guide/301
Pandas in 5 minutes
https://bit.ly/3EZgNgF
Python Cheat sheet
https://t.iss.one/pythondevelopersindia/314
UML Cheat sheet
https://www.guru99.com/uml-cheatsheet-reference-guide.html.
GIT and Machine Learning Cheatsheet
https://t.iss.one/datasciencefun/714?single
Javascript Cheat sheet
https://t.iss.one/programming_guide/623
HTML Cheatsheet
https://web.stanford.edu/group/csp/cs21/htmlcheatsheet.pdf
ENJOY LEARNING 👍👍
👇👇
Data Science Cheatsheet
https://github.com/aaronwangy/Data-Science-Cheatsheet
SQL Cheatsheet
https://learnsql.com/blog/sql-basics-cheat-sheet/
https://t.iss.one/programming_guide/299
https://www.sqltutorial.org/wp-content/uploads/2016/04/SQL-cheat-sheet.pdf
https://t.iss.one/learndataanalysis/442?single
Java Programming Cheatsheet
https://introcs.cs.princeton.edu/java/11cheatsheet/
PHP and Ruby Cheatsheets
https://t.iss.one/programming_guide/300
https://t.iss.one/programming_guide/301
Pandas in 5 minutes
https://bit.ly/3EZgNgF
Python Cheat sheet
https://t.iss.one/pythondevelopersindia/314
UML Cheat sheet
https://www.guru99.com/uml-cheatsheet-reference-guide.html.
GIT and Machine Learning Cheatsheet
https://t.iss.one/datasciencefun/714?single
Javascript Cheat sheet
https://t.iss.one/programming_guide/623
HTML Cheatsheet
https://web.stanford.edu/group/csp/cs21/htmlcheatsheet.pdf
ENJOY LEARNING 👍👍
👍6