Closed anushkashelke closed 1 year ago
I can solve this problem, can you assign it to me?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions!
This question is mostly asked in interviews and coding rounds I want to provide an efficient solution to this problem
Very easy solution with O(n) time complexity