im answering all my doubts in O(1), then why it’s shows tle? in there any better approach to do that?
Hi, save your code on ide.codingblocks.com and share the link here.