CODE QUALITY REVIEW | PEOPLE GET REJECTED HERE

Striver
Striver
66.2 هزار بار بازدید - 3 سال پیش - Check our Website: In case
Check our Website:

In case you are thinking to buy courses, please check below:

Link to get 20% additional Discount at Coding Ninjas: https://bit.ly/3wE5aHx
Code "takeuforward" for 15% off at GFG: https://practice.geeksforgeeks.org/co...
Code "takeuforward" for 20% off on sys-design: https://get.interviewready.io?_aff=takeuforward

Crypto, I use the Wazirx app: https://wazirx.com/invite/xexnpc4u
Take 750 rs free Amazon Stock from me: https://indmoney.onelink.me/RmHC/idje...
Earn 100 rs by making a Grow Account for investing: https://app.groww.in/v3cO/8hu879t0

Linkedin/Instagram/Telegram: https://linktr.ee/takeUforward

---------------------------------------------------------------------------------------------------------------------------------------------------- Check Relevel: https://relvl.co/xeby
Check SDE SHEET/Telegram/Linkedin and others: https://linktr.ee/takeUforward

Correction in Video: The reason for TLE might be the reason that .size() returns size_t which is unsigned, so if somehow .size()-1 was being calculated or anything that might turn the value to a negative number it would go to the maximum possible value of size_t which is huge. That's why many times we see something like if(i less than (int)g.size())

Correction Credits: Aviral Rana
3 سال پیش در تاریخ 1400/08/29 منتشر شده است.
66,211 بـار بازدید شده
... بیشتر