Replying...
Intro. Solve problem with optimized time and space complexity and code explanation

Efficient Code

@서원형