{"id":17774144,"url":"https://github.com/sohail0992/js-algorithms","last_synced_at":"2026-01-19T09:01:46.095Z","repository":{"id":42902900,"uuid":"251595210","full_name":"sohail0992/js-algorithms","owner":"sohail0992","description":"Leetcode, Codility problems solutions.","archived":false,"fork":false,"pushed_at":"2023-03-04T09:30:59.000Z","size":2170,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T12:13:56.235Z","etag":null,"topics":["algorithms","computer-science","interview-preparation","javascript","practice-programming","solutions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sohail0992.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":"2020-03-31T12:24:27.000Z","updated_at":"2023-03-04T04:32:20.000Z","dependencies_parsed_at":"2024-10-26T22:02:24.460Z","dependency_job_id":"b6f594b6-ba21-474d-9756-3c8ec2aa3013","html_url":"https://github.com/sohail0992/js-algorithms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sohail0992/js-algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohail0992%2Fjs-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohail0992%2Fjs-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohail0992%2Fjs-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohail0992%2Fjs-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sohail0992","download_url":"https://codeload.github.com/sohail0992/js-algorithms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohail0992%2Fjs-algorithms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"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":["algorithms","computer-science","interview-preparation","javascript","practice-programming","solutions"],"created_at":"2024-10-26T21:49:51.712Z","updated_at":"2026-01-19T09:01:46.077Z","avatar_url":"https://github.com/sohail0992.png","language":"JavaScript","readme":"## Installation\n- Install Node and NPM.\n- Install mocha gloabllay `npm install mocha -g`.\n- clone this repository.\n- cd into the cloned directory and run `npm install`.\n\n## Directory Structure\n### For LeetCode\n- open LeetCode Directory\n- open the directory with problem name.\n- each directory has a\n  - test.js file with test cases. You can add custom test to testSamples in specified format.\n  - problem-name-solution.js file with solution.\n\n## For Algrothems base on dataStructure\n- Open directory with name `sorted`.\n- Select one of dataStructure.\n- Each data structure is again distrubted by the problems from different sources. e.g you will find Codelity directory insider Array.\n\n\n## To Run test\n- cd into directory of problem and run `mocha`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsohail0992%2Fjs-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsohail0992%2Fjs-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsohail0992%2Fjs-algorithms/lists"}