gitmyhub

awesome-java-leetcode

Java ★ 8.7k updated 5y ago

:crown: LeetCode of algorithms with java solution(updating).

A curated collection of LeetCode algorithm problem solutions written in Java, organized by difficulty and topic, to help developers prepare for technical interviews.

Javasetup: easycomplexity 1/5

This is a collection of LeetCode algorithm problem solutions written in Java, created by an Android developer who previously competed in ACM (a university-level competitive programming contest). The author built it to keep their data structures and algorithm skills sharp by working through LeetCode problems and keeping the solutions in one organized place. The README is written in Chinese, though the problem titles and tags are in English.

Problems are organized into Easy, Medium, and Hard sections, with each row showing the problem number, title, and the algorithm categories it involves (such as arrays, hash tables, dynamic programming, linked lists, trees, and so on). The actual Java source code lives in the src directory, while explanatory notes about the approach for each problem are in the note directory.

The repository also includes a list of LeetCode problem numbers that have appeared in Facebook interviews, which the author compiled while preparing for a Facebook interview. A separate Companies.md file covers problem lists for other tech companies as well.

This is purely a study and practice resource. It is not a library or application you would install or run. Its value is as a reference for someone preparing for technical interviews or learning algorithm patterns through concrete, working Java code examples. The collection was still being updated at the time of the last known activity.

Where it fits