{"id":20406421,"url":"https://github.com/piratecoderz/leetcode-problems-java","last_synced_at":"2026-06-06T17:31:53.057Z","repository":{"id":262084780,"uuid":"886174049","full_name":"PirateCoderz/LeetCode-Problems-Java","owner":"PirateCoderz","description":"This Repo is all about Leetcode Problems solved in Java Language. I Started from easy ones and each is numbered as _1_ProblemName. Hope it helped you alot.","archived":false,"fork":false,"pushed_at":"2024-11-11T08:49:14.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T02:20:33.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PirateCoderz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-10T11:59:42.000Z","updated_at":"2024-11-11T08:49:17.000Z","dependencies_parsed_at":"2024-11-10T13:18:11.837Z","dependency_job_id":"b26c565b-5e93-48ef-b190-f2239971a121","html_url":"https://github.com/PirateCoderz/LeetCode-Problems-Java","commit_stats":null,"previous_names":["piratecoderz/leetcode-problems-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PirateCoderz/LeetCode-Problems-Java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PirateCoderz%2FLeetCode-Problems-Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PirateCoderz%2FLeetCode-Problems-Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PirateCoderz%2FLeetCode-Problems-Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PirateCoderz%2FLeetCode-Problems-Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PirateCoderz","download_url":"https://codeload.github.com/PirateCoderz/LeetCode-Problems-Java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PirateCoderz%2FLeetCode-Problems-Java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27407047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-30T02:00:05.582Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T05:16:52.876Z","updated_at":"2025-11-30T19:04:47.156Z","avatar_url":"https://github.com/PirateCoderz.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeetCode Java Solutions\n\nWelcome to my LeetCode Java repository! This collection of solutions is intended to tackle a wide range of algorithmic challenges on LeetCode, starting from easy-level problems to progressively harder ones. This journey is designed to improve my understanding of data structures, algorithms, and problem-solving techniques in Java.\n\n## 🗂️ Repository Structure\n\nEach solution is organized by problem difficulty and follows the LeetCode problem list order for easy navigation. The structure is as follows:\n\n- **Easy**: Beginner-level problems that cover basic concepts and help build foundational skills. These problems are aimed at honing basic programming logic, syntax, and understanding of fundamental data structures like arrays, strings, and hashmaps.\n\n- **Medium** and **Hard**: As I progress, these sections will be added, covering advanced topics like dynamic programming, backtracking, graph algorithms, and more. Solutions in these folders will be explained in detail to help solidify understanding.\n\n\n# LeetCode Solution Tracker\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ch1\u003eString\u003c/h1\u003e\u003c/summary\u003e\n\n| **S#** | **Question#** |                             **Difficulty**                               |                                         **Questions**                                                                                          |                                                                 **Solutions**                                   |\n| :----: | :-----------: | :----------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------:  | :----------------------------------------------------------------------------------------------------:          |\n| **01** |      771      | \u003cimg src='https://img.shields.io/badge/Easy-darkcyan' alt='Easy'/\u003e       | [Jewels and Stones](https://leetcode.com/problems/jewels-and-stones/)                                                                          | [Jewels and Stones](https://leetcode.com/submissions/detail/1258744687/)                                        |\n| **02** |      520      |\u003cimg src='https://img.shields.io/badge/Medium-darkorange' alt='Medium'/\u003e  | [Detect Capital](https://leetcode.com/problems/detect-capital/)                                                                                | [Detect Capital](https://leetcode.com/submissions/detail/1258719995/)                                           |\n\n\u003c!-- \u003cimg src='https://img.shields.io/badge/Hard-darkred' alt='Hard'/\u003e --\u003e\n\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ch1\u003eEasy Problems\u003c/h1\u003e\u003c/summary\u003e\n\n| **S#** | **Question#** |                             **Difficulty**                               |                                         **Questions**                                                                                          |                                                                 **Solutions**                                   |\n| :----: | :-----------: | :----------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------:  | :----------------------------------------------------------------------------------------------------:          |\n| **01** |      771      | \u003cimg src='https://img.shields.io/badge/Easy-darkcyan' alt='Easy'/\u003e       | [Jewels and Stones](https://leetcode.com/problems/jewels-and-stones/)                                                                          | [Jewels and Stones](https://leetcode.com/submissions/detail/1258744687/)                                        |\n| **02** |      520      | \u003cimg src='https://img.shields.io/badge/Easy-darkcyan' alt='Easy'/\u003e       | [Detect Capital](https://leetcode.com/problems/detect-capital/)                                                                                | [Detect Capital](https://leetcode.com/submissions/detail/1258719995/)                                           |\n\n\u003c!-- \u003cimg src='https://img.shields.io/badge/Hard-darkred' alt='Hard'/\u003e --\u003e\n\n\u003c/details\u003e\n\n\n\n\n## 📁 Folder Structure\n\nEach problem solution is saved in its respective folder, named after the problem title with its difficulty level in the folder name. For example:\n\n```\n.\n├── easy\n│   ├── _1_TwoSum\n│   └── _2_ReverseInteger\n└── medium\n    └── _1_AddTwoNumbers\n```\n\nWithin each folder:\n- `Problem.md`: Contains the problem description, constraints, and sample inputs/outputs.\n- `Solution.java`: The Java file with a clean, commented solution.\n- `Explanation.md`: (Optional) A detailed explanation of the approach, complexities, and any alternative solutions if applicable.\n\n## 🚀 Getting Started\n\nTo use this repository, clone it, navigate to the desired problem folder, and compile and run the Java solution files:\n\n```bash\njavac Solution.java\njava Solution\n```\n\nEach solution is standalone, so you can run them individually to see how they work.\n\n## 🛠️ Prerequisites\n\nEnsure you have Java installed to compile and run the solutions:\n\n```bash\njava --version\n```\n\n## ✨ How to Contribute\n\nIf you'd like to contribute, feel free to fork this repository, work on a new solution or improve existing ones, and create a pull request. Your contributions are welcome!\n\n## 📝 Admins\n\nThis repository is managed by:\n- **Pirate Coderz** (Owner) - Java Developer and Competitive Programmer\n- **Pro Coder**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiratecoderz%2Fleetcode-problems-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiratecoderz%2Fleetcode-problems-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiratecoderz%2Fleetcode-problems-java/lists"}