FastPrepConvert Backticked Identifiers to Camel Case
Problems/Convert Backticked Identifiers to Camel Case

Convert Backticked Identifiers to Camel Case

ZipRecruiter logoZipRecruiter● MediumNEW GRADOA

Updated Nov 2026

QuestionFunctionExamplesConstraints

Problem statement

Source note: A ZipRecruiter new-grad OA image describes the scope of the delimiters, lowercase identifiers, uppercase constants, camelCase conversion, and keeping the text outside the delimiters. We supplied balanced delimiters and a function signature.

Delimiter code point 96 encloses space-separated lowercase snake_case identifiers or UPPER_CASE constants. Convert eligible lowercase identifiers inside delimiters to camelCase. Preserve uppercase constants and all outside text.

Function

convertBacktickedIdentifiers(docstring: String) → String

Examples

Example 1

docstring = "Use `foo_bar MAX_VALUE` now"return = "Use `fooBar MAX_VALUE` now"

Only eligible identifiers inside the delimited region change.

Example 2

docstring = "`one_two three` outside_name"return = "`oneTwo three` outside_name"

Only eligible identifiers inside the delimited region change.

Constraints

  • 0 <= docstring.length <= 100000
  • Delimiters are balanced.

More ZipRecruiter Online Assessment questions

  • Four-Level Banking System with Scheduled PaymentsOA · Seen Oct 2026
  • Count Three-Digit Numbers with Distinct DigitsOA · Seen Oct 2024
  • Longest Frequency-Bounded SubarrayOA · Seen Oct 2024
  • Minimum Changes to Draw a YOA · Seen Oct 2024
  • Apply Binary State OperationsOA · Seen Sep 2024
  • Simulate Orchard Rot SpreadOA · Seen Sep 2024
  • Compare Odd- and Even-Index SumsOA · Seen Sep 2024
  • Coordinate Removals with Column GravityOA · Seen Sep 2024
  • Lexicographically Smallest End ReversalOA · Seen Sep 2024
  • Recursively Expanded Shell Command CountsOA · Seen Sep 2024

Similar questions at other companies

  • Parse Router LogsIntuit · OAIntuit interview questions
  • Simplify a Quadratic ExpressionOpenAI · OAOpenAI interview questions
  • DNA Sequence MatchSpaceX · OASpaceX interview questions
  • Correct Apartment Bedroom CountsRamp · OARamp interview questions
  • Remove CSS Comments and Find Hex ColorsAdobe · OAAdobe interview questions
  • Create New VersionCisco · OACisco interview questions
  • Order LayoutAmazon · OA
  • Validate and Parse HTTP RequestsIBM · OAIBM interview questions
  • Simplified XML ValidatorAirbnb · OAAirbnb interview questions
  • Hidden ArtifactsIMC Trading · OAIMC Trading interview questions

ZipRecruiter interview experiences

  • ZipRecruiter SWE OA, Level Not Reported: 23 Experiences
  • ZipRecruiter SWE Intern OA Scores: 4 Experiences
  • ZipRecruiter SWE New Grad OA: 9 Experiences
All ZipRecruiter interview questionsSee ZipRecruiter hiring insights
Saved
class Solution {
    public String convertBacktickedIdentifiers(String docstring) {
        // Write your code here.
    }

}
Checking account…