Given a sorted array of characters `letters` and a `target` character, find the smallest character in the array that is strictly greater than the `target`. If no such character exists, handle accordingly (e.g., wrap around or return a default value).
{
"letters": [
"c",
"f",
"j"
],
"target": "a"
}"c"{
"letters": [
"c",
"f",
"j"
],
"target": "c"
}"f"{
"letters": [
"c",
"f",
"j"
],
"target": "d"
}"f"Sign in to Run Code and Submit