Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/randhir200/reverse-prefix-of-word
Given a 0-indexed string word and a character ch, reverse the segment of word that starts at index 0 and ends at the index of the first occurrence of ch (inclusive). If the character ch does not exist in word, do nothing.
https://github.com/randhir200/reverse-prefix-of-word
Last synced: 2 days ago
JSON representation
Given a 0-indexed string word and a character ch, reverse the segment of word that starts at index 0 and ends at the index of the first occurrence of ch (inclusive). If the character ch does not exist in word, do nothing.
- Host: GitHub
- URL: https://github.com/randhir200/reverse-prefix-of-word
- Owner: Randhir200
- Created: 2022-05-14T12:25:55.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-15T15:27:59.000Z (over 2 years ago)
- Last Synced: 2024-11-06T03:51:36.266Z (about 2 months ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files: