What the problem with my code?


can you help solve me this as i am facing time complexity error