Chef & Chefu walk
CodeChefOpen on judge ↗
Chef & Chefu used to walk every day in the evening . But for the pandemic situation they walk once in a week. For some fun they decide,they will walk according to two strings $S1$ and $S2$. Both string contain combination of all lower case alphabet ( a to z) and last character of both string must contain ('e' or 'n' or 's' or 'w'). The last character of each string indicates direction , easy t
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.
Sign in to chat with the tutor and save your progress.
Sign in to start