im getting right ans on hacker blocks by this code
but its taking too much time to submit but i think complexity of my code is O(N) why its happening
Friends pairing problem
Don’t worry, time taken accounts for network calls and not solely for compilation of code, if your code takes more time than prescribed, you will get TLE!
network call means spped of net?
your code is uploaded and compiled on backend server which takes time, don’t worry your code is fine!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.