this is the code for top view which i saw in solution…whats the use of condition level<mp[dis].second
Hello @dakshi,
I don’t have reference to the parameters that are used in the code.
And i would rather suggest you understand the logic without looking at the solution. You must watch this video.\
Let me know if you still don’t understand something. Hope, this would help.