โ† IBM questions

Camel, Pascal, Snake, and Kebab Case Conversion

Filed under IBM

Write a function to convert a string between CamelCase, PascalCase, snake_case, and kebab-case formats. Assume the input is a valid identifier string.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related IBM questions

Collected from public candidate posts and coding forums. Updated Nov 2026.