Skip to content

Solutions to Arrays, Strings, Lists, Sorting, Stacks, Trees and General DS problems using JAVA.

License

Notifications You must be signed in to change notification settings

anishkumar127/Data-Structures-and-Algorithms

Repository files navigation

Java

[ - 🦋 👨‍💻 🍁 - ] [ Computers are fast, programmers keep it slow. ]

Programming 🦋👨‍💻🍁


🍁Weekly DSA ➡️ Java ⬅️

🍁 Theory & Explanation DSA ➡️ Theory


🦋 Latest YouTube videos

LeetCode Stats 🦋

LeetCode Stats

Geeks For Geeks Stats 🦋

Anish's geeksForgeeks stats

Activities 🦋

Alt

Problems

Tags Problem Solution Difficulty
array Two Sum Java O(n^2) , O(n) - Python , JavaScript easy
array Replace Elements with Greatest Element on Right Side O(n) easy
array Find minimum and maximum element in an array O(n) easy
array Kth smallest element O(n) , O(n) easy
array Leaders in an array O(n) easy
array Wave Array O(n) easy
array Two Sum II - Input Array Is Sorted O(n) easy
array search-insert-position O(n) easy
array Running Sum of 1d Array O(n) easy
array Rotate Array O(n) easy
array Remove Duplicates from Sorted Array O(n) easy
array Remove Duplicates from Sorted List O(n) easy
array Palindrome Number O(n) easy
array Majority Element. O(n) easy
array Print alternate elements of an array O(n) easy
array Reverse array in groups O(n) easy
array Rotate Array 2 O(n) easy
array Rotate Array O(n) easy
array Second Largest O(n) easy
array Sum of Array O(n) easy
array Third largest element O(n) easy
array Searching a number O(n) easy
array Reverse digits of a Number O(n) easy
array Second largest elements O(n) easy
array Remove Duplicates from Sorted Array O(n) easy
array Find Pivot Index O(n) easy
array Contains Duplicate O(nlogn) O(n) easy
array Maximum Subarray O(n) easy
array Remove Duplicates from Sorted Array O(n) easy
array Two Sum O(n) 3 approach O(n) easy
array O(n) easy
array O(n) easy
array O(n) easy
array O(n) easy
array O(n) easy
array O(n) easy
array O(n) easy