Bhaiya iska time complexity O(n) aur space complexity O(n) hona na?
hi @ritikbunty2511_729d0258992e0982 time o(n2) hoga