{"id":21698533,"url":"https://github.com/luizfelipelopes/lonelyinteger","last_synced_at":"2025-03-20T15:21:42.155Z","repository":{"id":224654691,"uuid":"763851920","full_name":"luizfelipelopes/lonelyInteger","owner":"luizfelipelopes","description":"Lonely Integer (Problem resolved in Hacker Rank)","archived":false,"fork":false,"pushed_at":"2024-02-27T03:18:45.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-25T19:43:02.690Z","etag":null,"topics":["algorithm","algorithm-challenges","algorithms","hackerrank","javascript"],"latest_commit_sha":null,"homepage":"https://stackblitz.com/edit/vitejs-vite-irvr5e","language":"CSS","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/luizfelipelopes.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-02-27T03:02:17.000Z","updated_at":"2024-02-27T03:26:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"66e298d1-1a52-4348-a5c5-2746a0811e55","html_url":"https://github.com/luizfelipelopes/lonelyInteger","commit_stats":null,"previous_names":["luizfelipelopes/lonelyinteger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizfelipelopes%2FlonelyInteger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizfelipelopes%2FlonelyInteger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizfelipelopes%2FlonelyInteger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizfelipelopes%2FlonelyInteger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luizfelipelopes","download_url":"https://codeload.github.com/luizfelipelopes/lonelyInteger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637182,"owners_count":20485455,"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","algorithm-challenges","algorithms","hackerrank","javascript"],"created_at":"2024-11-25T19:34:57.480Z","updated_at":"2025-03-20T15:21:42.149Z","avatar_url":"https://github.com/luizfelipelopes.png","language":"CSS","readme":"# Loonely Integer (Hacker Rank)\n\nGiven an array of integers, where all elements but one occur twice, find the unique element.\n\n### Example\n\n*arr = [4, 9, 95, 93, 57, 4, 57, 93, 9]* \n\nThe unique element is **95**.\n\n### Function Description\n\nlonelyinteger has the following parameter(s):\n\n* int a[n]: an array of integers\n\n### Returns\n\n* int: the element that occurs only once\n\n### Constraints\n* *1 \u003c= ***n*** \u003c 100*\n* It is guaranteed that ***n*** is an odd number and that there is one unique element.\n* *0 \u003c= a[i] \u003c= 100, where 0 \u003c= i \u003c n*.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizfelipelopes%2Flonelyinteger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluizfelipelopes%2Flonelyinteger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizfelipelopes%2Flonelyinteger/lists"}