Back to problems

Convert Identifier Naming in Docstrings

Algorithm · ByteDance · Medium

Transform Documentation Identifiers Easy · Topics · Company Tags · Hints You receive a single line of documentation text. Some portions of the line are enclosed in backticks. Within each backtick‑enclosed segment, you will find one or more identifiers separated by spaces. Identifiers follow either the snake_case naming convention (lowercase words joined by underscores) or the UPPER_CASE convention used for constants (all uppercase, words separated by underscores). Convert…

Checking your access…