{"id":21665984,"url":"https://github.com/man0sh-r0y/leetcode-practice-enviroment","last_synced_at":"2026-04-29T07:34:56.034Z","repository":{"id":214274257,"uuid":"736124357","full_name":"Man0sh-r0y/LeetCode-Practice-Enviroment","owner":"Man0sh-r0y","description":"VS Code set up for your seamless problem solving journey. If You are a Windows  / Mac user you can follow it.","archived":false,"fork":false,"pushed_at":"2024-10-18T12:29:28.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T16:43:43.036Z","etag":null,"topics":["leetcode","problem-solving","vscode"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Man0sh-r0y.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-12-27T03:51:20.000Z","updated_at":"2024-10-18T12:31:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd3dcb48-5d07-4292-843a-54168b91e9cc","html_url":"https://github.com/Man0sh-r0y/LeetCode-Practice-Enviroment","commit_stats":null,"previous_names":["man0sh-r0y/leetcode-practice-enviroment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Man0sh-r0y/LeetCode-Practice-Enviroment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Man0sh-r0y%2FLeetCode-Practice-Enviroment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Man0sh-r0y%2FLeetCode-Practice-Enviroment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Man0sh-r0y%2FLeetCode-Practice-Enviroment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Man0sh-r0y%2FLeetCode-Practice-Enviroment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Man0sh-r0y","download_url":"https://codeload.github.com/Man0sh-r0y/LeetCode-Practice-Enviroment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Man0sh-r0y%2FLeetCode-Practice-Enviroment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32416146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["leetcode","problem-solving","vscode"],"created_at":"2024-11-25T11:19:00.118Z","updated_at":"2026-04-29T07:34:56.015Z","avatar_url":"https://github.com/Man0sh-r0y.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leetcode Problem Solving Enviromenet\nIf you are looking for a setup that looks like the one below, the following instructions might help you to configure this on your workstation.\n\n1. Go to `view`\n1. Then to `editor layout`\n1. click on `split left`\n\nThis will separate the main Java file to the left from the input and output files. Now, to split input and output in two sections, have your cursor on input.txt file and then follow the same steps:\n\n1. Go to `Editor Layout`\n1. Then to `Split Down`\n\nSince we have created and aligned the input and output files, we have to run these files. To make sure our input gives an output, we will have to configure it. \n1. Go to `Terminal`\n1. select `Configure Tasks`\n1. choose `Create tasks.json file from the template`\n1. then select `others`\n\nAfter selecting others, you will see a new .vscode file and, in that, a tasks.json file, clear the current text in the json file and paste this.\n\n## Fr Windows Users:\n\n```bash\n{\n    \"version\": \"2.0.0\",\n    \"tasks\": [\n        {\n            \"label\": \"Compile and run\",\n            \"type\": \"shell\",\n            \"command\": \"cmd\",\n            \"args\": [\n                \"/c\",\n                \"javac ${relativeFile} \u0026\u0026 java ${fileBasenameNoExtension} \u003c input.txt \u003e output.txt\"\n            ],\n            \"presentation\": {\n                \"reveal\": \"never\"\n            },\n            \"group\": {\n                \"kind\": \"build\",\n                \"isDefault\": true\n            },\n            \"problemMatcher\": {\n                \"owner\": \"java\",\n                \"fileLocation\": [\n                    \"relative\",\n                    \"${workspaceRoot}\"\n                ],\n                \"pattern\": {\n                    \"regexp\": \"^(.*):(\\\\d+):(\\\\d+):\\\\s+(warning|error):\\\\s+(.*)$\",\n                    \"file\": 1,\n                    \"line\": 2,\n                    \"column\": 3,\n                    \"severity\": 4,\n                    \"message\": 5\n                }\n            }\n        }\n    ]\n}\n\n```\n\n## For Mac Users:\n\n```bash\n{\n    \"version\": \"2.0.0\",\n    \"tasks\": [\n        {\n            \"label\": \"compile and run\",\n            \"type\": \"shell\",\n            \"command\": \"javac ${file} \u0026\u0026 java ${fileBasenameNoExtension} \u003c input.txt \u003e output.txt\",\n            \"group\": {\n                \"kind\": \"build\",\n                \"isDefault\": true\n            }\n        }\n    ]\n}\n```\n\n## How to run the code?\n\nPress `Ctrl` + `Shift` + `B` (Windows/Linux) or `Cmd` + `Shift` + `B` (macOS) to trigger the build task. This will compile and run your Java code according to the specified task configuration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fman0sh-r0y%2Fleetcode-practice-enviroment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fman0sh-r0y%2Fleetcode-practice-enviroment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fman0sh-r0y%2Fleetcode-practice-enviroment/lists"}