{"id":16446923,"url":"https://github.com/lucas-erkana/codingchallenege_sort_vowels_in_a_string","last_synced_at":"2026-06-15T15:31:37.004Z","repository":{"id":206923066,"uuid":"717996553","full_name":"Lucas-Erkana/CodingChallenege_Sort_Vowels_in_a_String","owner":"Lucas-Erkana","description":"The task is to permute a string `s` such that all consonants remain in their original places and the vowels are sorted in non-decreasing order of their ASCII values, then return the resulting string.","archived":false,"fork":false,"pushed_at":"2023-11-13T06:43:02.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T11:35:42.044Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Lucas-Erkana.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-11-13T06:28:37.000Z","updated_at":"2023-11-13T06:47:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"c60f2c90-1910-4bb2-85bf-cf60f5541d0d","html_url":"https://github.com/Lucas-Erkana/CodingChallenege_Sort_Vowels_in_a_String","commit_stats":null,"previous_names":["lucas-erkana/codingchallenege_sort_vowels_in_a_string"],"tags_count":0,"template":false,"template_full_name":"Lucas-Erkana/CodingChallenege_Template","purl":"pkg:github/Lucas-Erkana/CodingChallenege_Sort_Vowels_in_a_String","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucas-Erkana%2FCodingChallenege_Sort_Vowels_in_a_String","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucas-Erkana%2FCodingChallenege_Sort_Vowels_in_a_String/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucas-Erkana%2FCodingChallenege_Sort_Vowels_in_a_String/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucas-Erkana%2FCodingChallenege_Sort_Vowels_in_a_String/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lucas-Erkana","download_url":"https://codeload.github.com/Lucas-Erkana/CodingChallenege_Sort_Vowels_in_a_String/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucas-Erkana%2FCodingChallenege_Sort_Vowels_in_a_String/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34369840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-11T09:49:13.811Z","updated_at":"2026-06-15T15:31:36.951Z","avatar_url":"https://github.com/Lucas-Erkana.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Sort Vowels in a String\n\nGiven a 0-indexed string `s`, permute `s` to get a new string `t` such that:\n- All consonants remain in their original places.\n- The vowels must be sorted in non-decreasing order of their ASCII values.\n\nReturn the resulting string `t`.\n\nThe vowels are 'a', 'e', 'i', 'o', and 'u', and they can appear in lowercase or uppercase. Consonants comprise all letters that are not vowels.\n\n\n## Examples\n\n### Example 1:\n```\nInput: s = \"lEetcOde\"\nOutput: \"lEOtcede\"\nExplanation: 'E', 'O', and 'e' are the vowels in `s`; 'l', 't', 'c', and 'd' are all consonants. The vowels are sorted according to their ASCII values, and the consonants remain in the same places.\n```\n\n### Example 2:\n```\nInput: s = \"lYmpH\"\nOutput: \"lYmpH\"\nExplanation: There are no vowels in `s` (all characters in `s` are consonants), so we return \"lYmpH\".\n```\n\n## Constraints:\n- 1 \u003c= s.length \u003c= 105\n- `s` consists only of letters of the English alphabet in uppercase and lowercase.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucas-erkana%2Fcodingchallenege_sort_vowels_in_a_string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucas-erkana%2Fcodingchallenege_sort_vowels_in_a_string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucas-erkana%2Fcodingchallenege_sort_vowels_in_a_string/lists"}