← Questions

Snake case to camel case, then across a whole repository

0
GoogleCodingLast asked Apr 2026
  1. Convert a valid snake_case name (no leading, trailing or doubled underscores) to lowerCamelCase, so foo_bar becomes fooBar.
  2. An open discussion: a huge repository names its variables and functions in snake_case, and the change is too big for anyone to review by hand. How would you use your function to rename everything safely?
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding