Skip to content

My solutions to the coding problems on AlgoExpert.

License

Notifications You must be signed in to change notification settings

tdkhan/algo-expert

Repository files navigation

AlgoExpert (Ace the Coding Interview)

This repository contains my solutions to the coding problems on AlgoExpert.

The solutions are coded in C++ and compiled using the g++ compiler in Ubuntu. Each file has a problem description inserted as a comment. Each file also contains a sample test case, to test the code run the following commands in the terminal from the correct working directory

g++ -o output <filename.cpp>
./output

Difficulty Levels

🟢 Easy
🔵 Medium
🔴 Hard
⚫️ Very Hard

Questions

Question Difficulty Category
Two Number Sum 🟢 Arrays
Validate Subsequence 🟢 Arrays
Sorted Squared Array 🟢 Arrays
Tournament Winner 🟢 Arrays
Non-Constructible Change 🟢 Arrays
Three Number Sum 🔵 Arrays
Smallest Difference 🔵 Arrays
Move Element To End 🔵 Arrays
Monotonic Array 🔵 Arrays
Spiral Traverse 🔵 Arrays
Longest Peak 🔵 Arrays
Array of Products 🔵 Arrays
First Duplicate Value 🔵 Arrays
Merge Overlapping Intervals 🔵 Arrays
Four Number Sum 🔴 Arrays
Subarray Sort 🔴 Arrays
Largest Range 🔴 Arrays
Min Rewards 🔴 Arrays
Zigzag Traverse 🔴 Arrays
Remove Duplicates from Linked List 🟢 Linked Lists
Linked List Construction 🔵 Linked Lists
Remove Kth Node From End 🔵 Linked Lists
Sum of Linked Lists 🔵 Linked Lists
Find Loop 🔴 Linked Lists
Reverse Linked List 🔴 Linked Lists
Merged Linked Lists 🔴 Linked Lists
Shift Linked List 🔴 Linked Lists
Branch Sums 🟢 Binary Trees
Node Depths 🟢 Binary Trees
Invert Binary Tree 🔵 Binary Trees
Palindrome Check 🟢 Strings
Caesar Cipher Encryptor 🟢 Strings
Nth Fibonacci 🟢 Recursion
Depth First Search 🟢 Graphs
Single Cycle Check 🔵 Graphs
Breadth First Search 🔵 Graphs
River Sizes 🔵 Graphs
Bubble Sort 🟢 Sorting
Kadane's Algorithm 🔵 Famous Algorithms

About

My solutions to the coding problems on AlgoExpert.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages