Skip to content

Leveling up my coding skills by solving data structure and algorithm questions in Java & Kotlin

Notifications You must be signed in to change notification settings

jerrycychen/algoexpert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

algoexpert

License: MIT GitHub repo size Active Generic badge Generic badge Generic badge

⚡ LIST OF PROBLEMS

⭐ : Coding Interview Problems

Difficulty chart:

🟩 : Easy
🟦 : Medium
🟥 : Hard
⬛ : Very Hard

Problem Statement Difficulty Java Solution Kotlin Solution
Two Number Sum 🟩 TwoNumberSum.java TwoNumberSum.kt
Validate Subsequence 🟩 ValidateSubsequence.java ValidateSubsequence.kt
Sorted Squared Array 🟩 SortedSquaredArray.java SortedSquaredArray.kt
Tournament Winner 🟩 TournamentWinner.java TournamentWinner.kt
Non-Constructible Change 🟩 NonConstructibleChange.java NonConstructibleChange.kt
Find Closest Value In BST 🟩 FindCloserValueInBstRecursive.java FindCloserValueInBstRecursive.kt
Branch Sums 🟩 BranchSums.java BranchSums.kt
Node Depths 🟩 NodeDepthsRecursive.java NodeDepthsRecursive.kt
Depth-first Search 🟩 DepthFirstSearch.java DepthFirstSearch.kt
Minimum Waiting Time 🟩 MinimumWaitingTime.java MinimumWaitingTime.kt
Class Photos 🟩 ClassPhotos.java ClassPhotos.kt
Tandem Bicycle 🟩 TandemBicycle.java TandemBicycle.kt
Remove Duplicates From Linked List 🟩 RemoveDuplicatesFromLinkedList.java RemoveDuplicatesFromLinkedList.kt
Nth Fibonacci 🟩 NthFibonacciOnO1.java NthFibonacciOnO1.kt
Product Sum 🟩 ProductSum.java ProductSum.kt
Binary Search 🟩 BinarySearchIterative.java BinarySearchIterative.kt
Find Three Largest Numbers 🟩 FindThreeLargestNumbers.java FindThreeLargestNumbers.kt
Bubble Sort 🟩 BubbleSort.java BubbleSort.kt
Insertion Sort 🟩 InsertionSort.java InsertionSort.kt
Selection Sort 🟩 SelectionSort.java SelectionSort.kt
Palindrome Check 🟩 PalindromeCheckOnO1.java PalindromeCheckOnO1.kt
Caesar Cipher Encryptor 🟩 CaesarCipherEncryptorAlphabet.java CaesarCipherEncryptorAlphabet.kt
Run-Length Encoding 🟩 RunLengthEncoding.java RunLengthEncoding.kt
Generate Document 🟩 GenerateDocument.java GenerateDocument.kt
First Non-Repeating Character 🟩 FirstNonRepeatingCharacter.java FirstNonRepeatingCharacter.kt
Three Number Sum 🟦 ThreeNumberSum.java ThreeNumberSum.kt
Smallest Difference 🟦 SmallestDifference.java SmallestDifference.kt
Move Element To End 🟦 MoveElementToEnd.java MoveElementToEnd.kt
Monotonic Array 🟦 MonotonicArray2.java MonotonicArray2.kt
Spiral Traverse 🟦 SpiralTraverseIterative.java SpiralTraverseIterative.kt
Longest Peak 🟦 LongestPeak.java LongestPeak.kt
Array Of Products 🟦 ArrayOfProductsOnOnSimplified.java ArrayOfProductsOnOnSimplified.kt
First Duplicate Value 🟦 FirstDuplicateValue.java FirstDuplicateValue.kt
Merge Overlapping Intervals 🟦 MergeOverlappingIntervals.java MergeOverlappingIntervals.kt
BST Construction 🟦 BstConstructionIterative.java BstConstructionIterative.kt
Validate BST 🟦 ValidateBst.java ValidateBst.kt
BST Traversal 🟦 BstTraversal.java BstTraversal.kt

About

Leveling up my coding skills by solving data structure and algorithm questions in Java & Kotlin

Topics

Resources

Stars

Watchers

Forks