|
|
|
|
|
by maerF0x0
1493 days ago
|
|
I've had zero or near zero gotcha string problems in my professional career, which are many of the leetcode problems. Find the (gotcha) in this string and emit len(gotcha) ... Now do it computationally efficiently (or be able to explain tradeoffs to other resources). |
|
But manipulating sequences comes up a lot in many contexts. Usually it's sequences of more complex things: instructions, packets, files, polygons. It's hard to assign tests directly on those, because you have to explain the objects themselves first. So it's a reasonable shortcut to test ability to manipulate sequences of characters.