Coding Question (LeetCode #2182 mentioned, but unclear mapping)

Only “2182” was mentioned without problem statement, I/O format, or constraints, so the coding question cannot be reconstructed and is omitted.

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: