← 返回 sofi 的题目列表Karat Text Justification
类型:qbank
Karat backend screen with a basic text-justification warm-up followed by LC 68-style full justification with extra input conversion work.
Requirements
The first task is a basic text-justification variant without filling each line to a fixed character count.
After passing the basic tests, the second task is equivalent to LC 68 full text justification.
The second task includes additional input conversion work before the core algorithm.
Manage time carefully; reaching the second task with only 15 minutes left is tight.
Notes
Candidate confirmed the second task as LC 68.
Practice both grouping words into lines and distributing spaces; the Karat wrapper may spend time on parsing rather than the core LC function.