🧱 DSA Foundations


Welcome to the Foundations section of JDCodebase! If you're just starting with Data Structures & Algorithms, this is the best place to begin.

These problems help you build confidence with core concepts and hands-on practice. You'll master simple array operations, string manipulations, and basic logic using JavaScript.

🧠 What You’ll Learn

  • Brute-force thinking and solving strategies
  • Working with arrays, loops, and conditions
  • Problem-solving habits and reading patterns

🛠️ JavaScript Fundamentals You’ll Use

  • for, while loops
  • if, else, switch conditions
  • arr.length, arr[i], push, pop, split
  • string[index], charCodeAt(), toLowerCase()

📚 Problems List

  1. Two Sum (#1)
  2. Find Numbers with Even Number of Digits (#1295)
  3. Concatenation of Array (#1929)
  4. Build Array from Permutation (#1920)
  5. Shuffle the Array (#1470)
  6. Kids With the Greatest Number of Candies (#1431)
  7. Count the Number of Consistent Strings (#1684)
  8. Defanging an IP Address (#1108)
  9. Goal Parser Interpretation (#1678)
  10. To Lower Case (#709)
  11. Squares of a Sorted Array (#977)