Coding question (same as 1point3acres thread 1170325)

Implement the Hackerrank coding problem referenced in 1point3acres thread 1170325, following the exact input/output format and constraints specified in that prompt.

  • The solution is expected to be c...

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: