← All problemsSign in

Grep Threading (7 Marks)

(Note: There was an error in the 2nd testcase, the error was rectified and a rejudge of all the submissions was performed. We are very sorry for the inconvenience.) Implement grep command using thread. You will be given an ls -lrt output as input. On a given string or name output the result. Given string can be substring of owner name, group name and file name. String will be case insensitive.

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start