mirror of
https://github.com/krahets/hello-algo.git
synced 2026-11-24 23:50:45 +08:00
When the header comment above a cited function did not match the extractor's format, the extractor kept scanning upward and the book showed the end of the previous function too. Fix those comments in all editions: - ruby min_cost_climbing_stairs_dp.rb: `# ...` -> `### ... ###` (all editions); - ruby unbounded_knapsack.rb: `### ... ##3` -> `### ... ###` (zh, ja, ko, ru); - c top_k.c: `// ...` above topKHeap -> `/* ... */` (all editions); - ru Ruby: restore the `###` prefix written as `# ##` on 25 lines in 12 files, following the Chinese original line by line. Also normalize whitespace-only lines inside the code tabs of space_complexity.md and suggestions.md (30 lines per edition) to empty lines; the built HTML of those pages is unchanged. zh-hant is regenerated by OpenCC. Co-Authored-By: Claude Opus 5.5 <[email protected]>