I don't how this error is coming

Stack overflow is coming in my answer

@divyansh0003 hey ,apna code link share krna pls.