You are viewing a single comment's thread. Return to all comments →
RUST:
fn camelcase(s: &str) ->i32 { s.chars().fold(1, |acc, l| if l.is_ascii_uppercase() {acc +1} else {acc}) }
Seems like cookies are disabled on this browser, please enable them to open this website
CamelCase
You are viewing a single comment's thread. Return to all comments →
RUST: