I have used map still it is showing me time limit

I have edited your code… Try to submit now…