Data Structures and Algorithms Interview Problems
Problem | Difficulty | Tags | Solution |
---|---|---|---|
Diagonal Sum | Easy | [Arrays, Matrices, Integers] | Link |
Find Repeats | Easy | [Arrays, Integers, Duplicates] | Link |
Sum of first five even numbers | Easy | [Arrays, Integers] | Link |
Greatest Row or Column in Matrix | Easy | [Arrays, Matrices, Integers] | Link |
Largest Product of Two | Easy | [Arrays, Products] | Link |
Matrix Sum Without Corners | Easy | [Arrays, Matrices, Integers] | Link |
Pair Sum | Easy | [Arrays, Integers] | Link |
Product of All Except Index | Easy | [Arrays, Products] | Link |
Remove Duplicates | Easy | [Arrays, Duplicates] | Link |
Second Largest | Easy | [Arrays, Integers] | Link |
Merge Sorted Arrays | Medium | [Arrays] | Link |
Shift Zeros | Medium | [Arrays, Duplicates] | Link |
Product of Three | Medium | [Arrays, Products, Integers] | Link |
Keypad | Hard | [Arrays] | Link |
Problem | Difficulty | Tags | Solution |
---|---|---|---|
Avoid Fives | Easy | [Integers] | Link |
Add Digits | Medium | [Integers] | Link |
Backwards Primes | Medium | [Integers, Primes] | Link |
Happy Numbers | Medium | [Integers, Primes] | Link |
Problem | Difficulty | Tags | Solution |
---|---|---|---|
Swap Nodes | Medium | [Linked Lists] | Link |
Problem | Difficulty | Tags | Solution |
---|---|---|---|
Largest Element | Easy | [Stacks] | Link |
Valid Parentheses | Medium | [Strings, Stacks] | Link |
Problem | Difficulty | Tags | Solution |
---|---|---|---|
Palindrome | Easy | [Strings] | Link |
Pangram | Easy | [Strings] | Link |
Remove Vowels | Easy | [Strings] | Link |
Reverse String | Easy | [Strings] | Link |
Pattern Match | Easy | [Arrays, Strings, Dictionaries] | Link |
Sequence Count in String | Medium | [Arrays, Integers] | Link |