@@CodeBashers Don't know exactly how how do that on LeetCode... but I did include #include above the class Solution line. Still the same error. You should've submitted the solution in the video. Btw, one of the most upvoted solution in the Discuss section used the same 'to_string' function without any errors in his/her solution. He just used 'auto' instead of generic For Loop.
thanks man, I generally do not comment on much videos but your explanation was good, this how we normally explain to the interviewer. ATB
This code gives compilation error because of use of 'to_string' function.
Import library
@@CodeBashers Don't know exactly how how do that on LeetCode... but I did include #include above the class Solution line. Still the same error.
You should've submitted the solution in the video.
Btw, one of the most upvoted solution in the Discuss section used the same 'to_string' function without any errors in his/her solution. He just used 'auto' instead of generic For Loop.
It's clear explanation ✨thank you sir 👍
awesome explanation
@CodeBashers why you use static with bool?
good one
Thank you😊
Thanks man
How complexity is nlogn ?
aman patel
poor explaination be more fluent
he lags so much like he don't know what to say