/coding-java

Solved coding problems in Java

Primary LanguageJava

coding-java

Solved coding problems from different learning platforms to one place in Java

Different Packages

Name of Package Description
com.algoexpert AlgoExpert's Coding problems
com.algorithms Implementation of well-known algorithms
com.coding.patterns Implementation of leetcode problems with proper separation of respected(used) coding pattern
com.sorting Implementation of all sorting algorithms
com.datastructures Implementation of well-known datastructures

LeetCode problems

NOTE: This repository contains many more problems than listed below (find it according to different coding patterns). I just need to find a time to add it to this list. Feel free to contribute to add/update below list to help all.

No Problem Solution
1 Two Sum Solution
3 Longest Substring Without Repeating Characters Solution
15 3Sum Solution
17 Letter Combinations Of a Phone Number Solution
34 Find First and Last Position of Element in Sorted Array Solution
39 Combination Sum Solution
71 Simplify Path Solution
74 Search a 2D Matrix Solution
91 Decode Ways Solution
121 Best Time to Buy and Sell Stock Solution
122 Best Time to Buy and Sell Stock II Solution
135 Find Minimum in Rotated Sorted Array Solution
136 Single Number Solution
189 Rotate Array Solution
209 Minimum Size Subarray Sum Solution
215 Kth Largest Element in an Array Solution
337 House Robber III Solution
355 Design Twitter Solution
366 Find Leaves of Binary Tree Solution
438 Find All Anagrams in a String Solution
448 Find All Numbers Disappeared in an Array Solution
473 Matchsticks to Square Solution
538 Convert BST to Greater BST Solution
605 Can Place Flowers Solution
680 Valid Palindrome II Solution
682 Baseball Game Solution
695 Max Area of Island Solution
724 Find Pivot Index Solution
739 Daily Temperatures Solution
752 Open the Lock Solution
767 Reorganize String Solution
787 Cheapest Flights Within K Stops Solution
802 Find Eventual Safe States Solution
853 Car Fleet Solution
896 Monotonic Array Solution
901 Online Stock Spanner Solution
909 Snakes and Ladders Solution
1094 Car Pooling Solution
1151 Minimum Swaps To Group All 1's together Solution
1189 Maximum Number of Balloons Solution
1197 Minimum Knight Moves Solution
1209 Remove All Adjacent Duplicates in String II Solution
1260 Shift 2D Grid Solution
1335 Minimum Difficulty of a Job Schedule Solution
1461 Check If a String Contains All Binary Codes of Size K Solution
1507 Reformat Date Solution
1985 Find the Kth Largest Integer in the Array Solution