Hi there! Here you can entertain yourself with some algorithms questions. My solutions are in various languages: Javascript, Swift, Java, Kotlin. For some of them I’ve add a Big-O runtime analysis.
- Is Palindrome (easy)
- Top K Frequency (easy)
- Nested Headings
- String Compression
- Integer Binary
- Pair Sum is N
- Power of Two
- Reverse an Integer (easy)
- Combine Arrays (easy)
- Level Tree Traversal (easy)
- Set of All Subsets
- Reflected Binary
- Maximum Gain
- Stacks as Queue
- String Permutations
- Is Anagram (easy)
- Delete List Nodes
- Bad Commit
- Clock Hands (easy)
- Ad Impressions (easy)
- Reverse Linked List
- Circular Linked List
- Format Currency (easy)
- Triangle Number
- Largest Product I
- Largest Product II
- Matrix Matching
- Keypad Combos
- Minesweeper
- Number to English