JPMorgan ChaseCoding·60 minMembers
Markdown Table of Contents
Members only
Given an array of document lines, generate a table of contents: lines starting with `#` are chapters, lines starting with `##` are sections under the latest chapter, and other lines are ignored.
SWE
string
parsing
simulation
oa
easy
Frequency
Single report
Last asked
2026-03-14
Stage
oa
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
