{"id":15130833,"url":"https://github.com/jglchen/codility-solutions-javascript","last_synced_at":"2026-01-20T21:02:18.965Z","repository":{"id":256284003,"uuid":"854765885","full_name":"jglchen/codility-solutions-javascript","owner":"jglchen","description":"My Solutions to Codility Lessons with JavaScript","archived":false,"fork":false,"pushed_at":"2024-09-10T01:41:47.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T20:12:16.846Z","etag":null,"topics":["javascript","markdown"],"latest_commit_sha":null,"homepage":"","language":"MDX","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/jglchen.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":"2024-09-09T18:33:40.000Z","updated_at":"2024-09-10T01:41:50.000Z","dependencies_parsed_at":"2024-09-10T01:56:58.504Z","dependency_job_id":null,"html_url":"https://github.com/jglchen/codility-solutions-javascript","commit_stats":null,"previous_names":["jglchen/codility-solutions-javascript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jglchen/codility-solutions-javascript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jglchen%2Fcodility-solutions-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jglchen%2Fcodility-solutions-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jglchen%2Fcodility-solutions-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jglchen%2Fcodility-solutions-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jglchen","download_url":"https://codeload.github.com/jglchen/codility-solutions-javascript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jglchen%2Fcodility-solutions-javascript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28613659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["javascript","markdown"],"created_at":"2024-09-26T03:07:05.011Z","updated_at":"2026-01-20T21:02:18.931Z","avatar_url":"https://github.com/jglchen.png","language":"MDX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My Solutions to Codility Lessons with JavaScript\n\nMy solutions to [Codility Lessons](https://app.codility.com/programmers/lessons/1-iterations/) using javascript are listed below:\n\nLesson 1 Iterations\n\n- [BinaryGap](https://github.com/jglchen/codility-solutions-javascript/blob/main/1-Iterations/binary-gap.mdx)\n\n\nLesson 2 Arrays\n\n- [CyclicRotation](https://github.com/jglchen/codility-solutions-javascript/blob/main/2-Arrays/cyclic-rotation.mdx)\n- [OddOccurencesInArray](https://github.com/jglchen/codility-solutions-javascript/blob/main/2-Arrays/odd-occurences-in-array.mdx)\n\n\nLesson 3 Time Complexity\n\n- [FrogJmp](https://github.com/jglchen/codility-solutions-javascript/blob/main/3-Time_Complexity/frog-jmp.mdx)\n- [PermMissingElem](https://github.com/jglchen/codility-solutions-javascript/blob/main/3-Time_Complexity/perm-missing-elem.mdx)\n- [TapeEquilibrium](https://github.com/jglchen/codility-solutions-javascript/blob/main/3-Time_Complexity/tape-equilibrium.mdx)\n\n\nLesson 4 Counting Elements\n\n- [FrogRiverOne](https://github.com/jglchen/codility-solutions-javascript/blob/main/4-Counting_Elements/frog-river-one.mdx)\n- [PermCheck](https://github.com/jglchen/codility-solutions-javascript/blob/main/4-Counting_Elements/perm-check.mdx)\n- [MaxCounters](https://github.com/jglchen/codility-solutions-javascript/blob/main/4-Counting_Elements/max-counters.mdx)\n- [MissingInteger](https://github.com/jglchen/codility-solutions-javascript/blob/main/4-Counting_Elements/missing-integer.mdx)\n\n\nLesson 5 Prefix Sums\n\n- [PassingCars](https://github.com/jglchen/codility-solutions-javascript/blob/main/5-Prefix_Sums/passing-cars.mdx)\n- [CountDiv](https://github.com/jglchen/codility-solutions-javascript/blob/main/5-Prefix_Sums/count-div.mdx)\n- [GenomicRangeQuery](https://github.com/jglchen/codility-solutions-javascript/blob/main/5-Prefix_Sums/genomic-range-query.mdx)\n- [MinAvgTwoSlice](https://github.com/jglchen/codility-solutions-javascript/blob/main/5-Prefix_Sums/min-avg-two-slice.mdx)\n\n\nLesson 6 Sorting\n\n- [Distinct](https://github.com/jglchen/codility-solutions-javascript/blob/main/6-Sorting/distinct.mdx)\n- [MaxProductOfThree](https://github.com/jglchen/codility-solutions-javascript/blob/main/6-Sorting/max-product-of-three.mdx)\n- [Triangle](https://github.com/jglchen/codility-solutions-javascript/blob/main/6-Sorting/triangle.mdx)\n- [NumberOfDiscIntersections](https://github.com/jglchen/codility-solutions-javascript/blob/main/6-Sorting/number-of-disc-intersections.mdx)\n\nLesson 7 Stacks and Queues\n\n- [Brackets](https://github.com/jglchen/codility-solutions-javascript/blob/main/7-Stacks_and_Queues/brackets.mdx)\n- [Fish](https://github.com/jglchen/codility-solutions-javascript/blob/main/7-Stacks_and_Queues/fish.mdx)\n- [Nesting](https://github.com/jglchen/codility-solutions-javascript/blob/main/7-Stacks_and_Queues/nesting.mdx)\n- [StoneWall](https://github.com/jglchen/codility-solutions-javascript/blob/main/7-Stacks_and_Queues/stone-wall.mdx)\n\nLesson 8 Leader\n\n- [Dominator](https://github.com/jglchen/codility-solutions-javascript/blob/main/8-Leader/dominator.mdx)\n- [EquiLeader](https://github.com/jglchen/codility-solutions-javascript/blob/main/8-Leader/equi-leader.mdx)\n\nLesson 9 Maximum slice problem\n\n- [MaxProfit](https://github.com/jglchen/codility-solutions-javascript/blob/main/9-Maximum_slice_problem/max-profit.mdx)\n- [MaxSliceSum](https://github.com/jglchen/codility-solutions-javascript/blob/main/9-Maximum_slice_problem/max-slice-sum.mdx)\n- [MaxDoubleSliceSum](https://github.com/jglchen/codility-solutions-javascript/blob/main/9-Maximum_slice_problem/max-double-slice-sum.mdx)\n\nLesson 10 Prime and composite numbers\n\n- [CountFactors](https://github.com/jglchen/codility-solutions-javascript/blob/main/10-Prime_and_composite_numbers/count-factors.mdx)\n- [MinPerimeterRectangle](https://github.com/jglchen/codility-solutions-javascript/blob/main/10-Prime_and_composite_numbers/min-perimeter-rectangle.mdx)\n- [Flags](https://github.com/jglchen/codility-solutions-javascript/blob/main/10-Prime_and_composite_numbers/flags.mdx)\n- [Peaks](https://github.com/jglchen/codility-solutions-javascript/blob/main/10-Prime_and_composite_numbers/peaks.mdx)\n\nLesson 11 Sieve of Eratosthenes\n\n- [CountNonDivisible](https://github.com/jglchen/codility-solutions-javascript/blob/main/11-Sieve_of_Eratosthenes/count-non-divisible.mdx)\n- [CountSemiprimes](https://github.com/jglchen/codility-solutions-javascript/blob/main/11-Sieve_of_Eratosthenes/count-semiprimes.mdx)\n\nLesson 12 Euclidean algorithm\n\n- [ChocolatesByNumbers](https://github.com/jglchen/codility-solutions-javascript/blob/main/12-Euclidean_algorithm/chocolates-by-numbers.mdx)\n- [CommonPrimeDivisors](https://github.com/jglchen/codility-solutions-javascript/blob/main/12-Euclidean_algorithm/common-prime-divisors.mdx)\n\nLesson 13 Fibonacci numbers\n\n- [FibFrog](https://github.com/jglchen/codility-solutions-javascript/blob/main/13-Fibonacci_numbers/fib-frog.mdx)\n- [Ladder](https://github.com/jglchen/codility-solutions-javascript/blob/main/13-Fibonacci_numbers/ladder.mdx)\n\nLesson 14 Binary search algorithm\n\n- [MinMaxDivision](https://github.com/jglchen/codility-solutions-javascript/blob/main/14-Binary_search_algorithm/min-max-division.mdx)\n- [NailingPlanks](https://github.com/jglchen/codility-solutions-javascript/blob/main/14-Binary_search_algorithm/nailing-planks.mdx)\n\nLesson 15 Catepillar method\n\n- [AbsDistinct](https://github.com/jglchen/codility-solutions-javascript/blob/main/15-Caterpillar_method/abs-distinct.mdx)\n- [CountDistinctSlices](https://github.com/jglchen/codility-solutions-javascript/blob/main/15-Caterpillar_method/count-distinct-slices.mdx)\n- [CountTriangles](https://github.com/jglchen/codility-solutions-javascript/blob/main/15-Caterpillar_method/count-triangles.mdx)\n- [MinAbsSumOfTwo](https://github.com/jglchen/codility-solutions-javascript/blob/main/15-Caterpillar_method/min-abs-sum-of-two.mdx)\n\nLesson 16 Greedy algorithms\n\n- [MaxNonoverlappingSegments](https://github.com/jglchen/codility-solutions-javascript/blob/main/16-Greedy_algorithms/max-nonoverlapping-segments.mdx)\n- [TieRopes](https://github.com/jglchen/codility-solutions-javascript/blob/main/16-Greedy_algorithms/tie-ropes.mdx)\n\nLesson 17 Dynamic prograaming\n\n- [NumberSolitaire](https://github.com/jglchen/codility-solutions-javascript/blob/main/17-Dynamic_programming/number-solitaire.mdx)\n- [MinAbsSum](https://github.com/jglchen/codility-solutions-javascript/blob/main/17-Dynamic_programming/min-abs-sum.mdx)\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjglchen%2Fcodility-solutions-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjglchen%2Fcodility-solutions-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjglchen%2Fcodility-solutions-javascript/lists"}