{"id":21216533,"url":"https://github.com/jackhowa/where-i-belong","last_synced_at":"2025-07-25T00:43:24.593Z","repository":{"id":78850089,"uuid":"100200954","full_name":"JackHowa/where-i-belong","owner":"JackHowa","description":"Not the Linkin Park song, an algorithm and array problem. Return the lowest index at which a value (second argument) should be inserted into an array (first argument) once it has been sorted. ","archived":false,"fork":false,"pushed_at":"2017-08-13T20:36:35.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T16:44:18.625Z","etag":null,"topics":["algorithm","freecodecamp"],"latest_commit_sha":null,"homepage":"https://www.freecodecamp.org/challenges/where-do-i-belong","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/JackHowa.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":"2017-08-13T19:49:35.000Z","updated_at":"2017-08-13T19:50:48.000Z","dependencies_parsed_at":"2023-03-12T06:00:14.073Z","dependency_job_id":null,"html_url":"https://github.com/JackHowa/where-i-belong","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fwhere-i-belong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fwhere-i-belong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fwhere-i-belong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fwhere-i-belong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JackHowa","download_url":"https://codeload.github.com/JackHowa/where-i-belong/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243667964,"owners_count":20328036,"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","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":["algorithm","freecodecamp"],"created_at":"2024-11-20T21:52:53.793Z","updated_at":"2025-03-15T00:41:11.511Z","avatar_url":"https://github.com/JackHowa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# where-i-belong\n\nReturn the lowest index at which a value (second argument) should be inserted into an array (first argument) once it has been sorted. The returned value should be a number.\n\nFor example, getIndexToIns([1,2,3,4], 1.5) should return 1 because it is greater than 1 (index 0), but less than 2 (index 1).\n\nLikewise, getIndexToIns([20,3,5], 19) should return 2 because once the array has been sorted it will look like [3,5,20] and 19 is less than 20 (index 2) and greater than 5 (index 1).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackhowa%2Fwhere-i-belong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackhowa%2Fwhere-i-belong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackhowa%2Fwhere-i-belong/lists"}