CodingReported in a candidate post, Aug 2017
Find depth of innermost element in JSON-like string
Filed under SAP
The question
Given a string representing a nested structure (like JSON or brackets), calculate the depth of the innermost element.
No write-up yet. Related questions below have one.
Related SAP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.