Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wiirios/leetcode

my solutions for LeetCode
https://github.com/wiirios/leetcode

java leetcode solutions

Last synced: about 1 month ago
JSON representation

my solutions for LeetCode

Awesome Lists containing this project

README

        

## LeetCode

Leetcode is a platform with diverse programming problems focused on technical interviews


Version Badge
Version Badge
Version Badge

---
Java Solutions

| Problem | Java | Difficulty | Topics | Beats |
| -- | -- | -- | -- | -- |
| Two Sum | [P01](Java/1-Two-Sum/Problem.java) | ${\textsf{\color{Lightgreen}Easy}}$ | Array Hash \ Table | 98.63% |
| Median of Two Sorted Arrays | [P04](Java/4-Median-Of-Two-Sorted-Arrays/Problem.java) | ${\textsf{\color{Red}Hard}}$ | ArrayBinary \ Search \ Divide and Conquer | 31.53% |
| Reverse Integer | [P07](Java/7-Reverse-Integer/Problem.java) | ${\textsf{\color{yellow}Med}}$ | Math | 86.78% |
| Palindrome Number | [P09](Java/9-Palindrome-Number/Problem.java) | ${\textsf{\color{Lightgreen}Easy}}$ | Math | 100.00% |
| Integer To Roman | [P12](Java/12-Integer-To-Roman/Problem.java) | ${\textsf{\color{yellow}Med}}$ | Hash Table \ Math \ String | 98.33% |
| Find The Index Of The First Occurrence In A String | [P28](Java/28-Find-The-Index-Of-The-First-Occurrence-In-A-String/Problem.java) | ${\textsf{\color{Lightgreen}Easy}}$ | String Matching \ String \ Two Pointers | 100.00% |
| Search Insert Position | [P35](Java/35-Search-Insert-Position/Problem.java) | ${\textsf{\color{Lightgreen}Easy}}$ | Binary Search \ Search | 100.00% |
| Length Of Last Word | [P58](Java/58-Length-Of-Last-Word/Problem.java) | ${\textsf{\color{yellow}Med}}$ | String | 100.00% |
| Sort Colors | [P75](Java/75-Sort-Colors/Problem.java) | ${\textsf{\color{yellow}Med}}$ | Array \ Two Pointers \ Sorting | 100.00% |
| Reverse Words In A String | [P151](Java/151-Reverse-Words-in-a-String/Problem.java) | ${\textsf{\color{yellow}Med}}$ | Two Pointers \ String | 20.66% |
| Move Zeroes | [P283](Java/283-Move-Zeroes/Problem.java) | ${\textsf{\color{Lightgreen}Easy}}$ | Array \ Two Pointers | 83.78%
| Find The Duplicate Number | [P287](Java/287-Find-The-Duplicate-Number/Problem.java) | ${\textsf{\color{yellow}Med}}$ | Bit Manipulation \ Binary Search \ Two Pointers \ Array | 6.00% |
| Reverse String | [P344](Java/344-Reverse-String/Problem.java) | ${\textsf{\color{Lightgreen}Easy}}$ | Array | 90.09% |
| Is Subsequence | [P392](Java/392-Is-Subsequence/Problem.java) | ${\textsf{\color{Lightgreen}Easy}}$ | Dynamic Programming \ String | 93.17% |
| Maximum Average Subarray | [P643](Java/643-Maximum-Average-Subarray-I/Problem.java) | ${\textsf{\color{Lightgreen}Easy}}$ | Sliding Window \ Array | 41.99% |
| Print in Order | [P1114](Java/1114-Print-In-Order/Problem.java) | ${\textsf{\color{Lightgreen}Easy}}$ | Concurrency |
| Print FooBar Alternately | [P1115](Java/1115-Print-FooBar-Alternately/Problem.java) | ${\textsf{\color{yellow}Med}}$ | Concurrency | 28.21% |
| Print Zero Even Odd | [P1116](Java/1116-Print-Zero-Even-Odd/Problem.java) | ${\textsf{\color{yellow}Med}}$ | Concurrency | 99.88% |
| Building H20 | [P1117](Java/1117-Building-H2O/Problem.java) | ${\textsf{\color{yellow}Med}}$ | Concurrency | 99.57% |
| Merge Strings Alternately | [P1768](Java/1768-Merge-Strings-Alternately/Problem.java) | ${\textsf{\color{Lightgreen}Easy}}$ | Two Pointers \ String | 84.50% |

---

SQL Solutions

| Problem | SQL | Difficulty | Topics | Beats |
| -- | -- | -- | -- | -- |
| Combine Two Tables | [P175](Sql/175-Combine-Two-Tables/problem.sql) | ${\textsf{\color{Lightgreen}Easy}}$ | Database | 96.69% |
| Second-Highest-Salary | [P176](Sql/176-Second-Highest-Salary/problem.sql) | ${\textsf{\color{yellow}Med}}$| Database | 98.31% |
| Rank Scores | [P178](Sql/178-Rank-Scores/problem.sql) | ${\textsf{\color{yellow}Med}}$ | Database | 84.54% |
| Cosecutive Numbers | [P180](Sql/180-Cosecutive-Numbers/problem.sql) | ${\textsf{\color{yellow}Med}}$ | Database | 17.50% |
| Department-Highest-Salary | [P184](Sql/184-Department-Highest-Salary/problem.sql) | ${\textsf{\color{yellow}Med}}$| Database | 89.98% |