about | help | code help+videos | done | prefs |
Given a string containing [a-z] or [A-Z] and with the length of at least 1, return the smallest character inside the string. We define the smallest character as a character with the lowest corresponding ASCII code. minChar("aBcA") → "A" minChar("hello") → "e" minChar("HI") → "H" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy