Loading…
100 must-know beginner coding problems, each solved step by step in Java and Python.
What is the Basic 100?
Brand new to coding interviews? Start here. The Basic 100 is a hand-picked set of the simplest, most-asked Data Structures & Algorithms problems for freshers — reverse a string, find the maximum, FizzBuzz, check a prime, and more.
Every problem is solved the way an interviewer wants to hear it: a plain-English restatement, a worked example, the idea behind the solution, and clean Java and Python code with line-by-line comments. Work through the groups in order and you'll build the muscle memory that makes the Easy, Medium, and Hard tiers far less intimidating.
How to use it
The problem set
The arithmetic warm-ups every fresher is asked first: digits, factors, primes, and number tricks.
Single-pass scans over a list: max, min, sum, search, reverse, and the classic counting tricks.
Character-by-character processing: reverse, count, compare, and the fresher-favourite palindrome and anagram checks.
Pure loop control: number series, the FizzBuzz classic, and the star/number patterns asked in campus rounds.
The textbook algorithms every interviewer expects a fresher to code from memory.
The same warm-ups, re-derived recursively — base case, recursive case, and the call stack.
A gentle first look at binary, XOR tricks, and a couple of must-know conversions.
Ready for more?