Hafiza-Jabeen-Iqbal / Data-Structures-Course-devWeekend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DevWeekend's Data Structures Course

Some considerations while starting with problem-solving till 100+ Leetcode problems are solved:

  • Start with the most-easiest problems.
  • DO NOT try to solve each problem yourself, instead try to learn and understand how different problems are being solved
  • Do not try to solve a problem for more than 1 hour initially to get fast and to achieve more in less time, for any problem taking more than 1 hour, put it in a backlog and solve it later
  • Average time to solve a problem should be 30-45 minutes
  • Do not try to solve a lot of problems from one topic, instead try to solve 5-10 problems per topic
  • Do not try to jump into problem-solving directly without the necessary pre-requisites, For example

    If you are trying to solve a problem that requires HashSet/HashMap then make sure you have studied HashMap before solving the problem If you are trying to solve a problem that uses recursion, first make sure you learn recursion properly If you are trying to solve a problem that uses graphs/trees, first make sure you learn graphs/tree properly If you are trying to solve a problem that uses dynamic programming, first make sure you learn dynamic programming properly.

Week 1- Array

  1. https://leetcode.com/problems/running-sum-of-1d-array/description/
  2. https://leetcode.com/problems/find-the-highest-altitude/
  3. https://leetcode.com/problems/final-value-of-variable-after-performing-operations/description/
  4. https://leetcode.com/problems/squares-of-a-sorted-array/description/
  5. https://leetcode.com/problems/concatenation-of-array/
  6. https://leetcode.com/problems/number-of-good-pairs/description/
  7. https://leetcode.com/problems/shuffle-the-array/description/
  8. https://leetcode.com/problems/move-zeroes/description/
  1. https://leetcode.com/problems/jewels-and-stones/description/
  2. https://leetcode.com/problems/reverse-string/description/
  3. https://leetcode.com/problems/merge-strings-alternately/description/
  4. https://leetcode.com/problems/fizz-buzz/description/
  5. https://leetcode.com/problems/valid-anagram/description/
  6. https://leetcode.com/problems/reverse-vowels-of-a-string/
  7. https://leetcode.com/problems/valid-palindrome/description/
  8. https://leetcode.com/problems/repeated-substring-pattern/description/
  9. https://leetcode.com/problems/isomorphic-strings/description/
  10. https://leetcode.com/problems/is-subsequence/description/
  • Stl for C++ Programers (It will help to speed up coding part using built-in functions and short hands)

  • Note: The given lecture have Data structures like set and hashmap which we have'nt studied yet, don't worry we will be having a dedicated lecture on them for now just have a high level idea.

    https://youtu.be/RRVYpIET_RU?si=xI1JBIVbtCkj_Iq7

About