avinash201199 / avinash201199/DSA-Questions
Finding the smallest letter greater than the target in Java
Open
hacktoberfest
- Dominant language
- C++
- Stars
- 88
- Forks
- 167
- PR merge metrics
- No merged PRs in 30d
Description
Given a characters array (arr) that is sorted in non-decreasing order and a character (key), return the smallest character in the array that is larger than the key.
Sample Input:
arr = ["c","f","j"]
key = "a"
Sample Output:
"c"
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.