We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
hi, my code is working properly but i am not able to optimize according to time.
when i calculate for [85(V) 8276338(num_cities)] then i get answer but when i do for [85(V) 827633810(num_cities)] then i get runtime error.
kindly give any guidance for time optimizing
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Journey Scheduling
You are viewing a single comment's thread. Return to all comments →
hi, my code is working properly but i am not able to optimize according to time. when i calculate for [85(V) 8276338(num_cities)] then i get answer but when i do for [85(V) 827633810(num_cities)] then i get runtime error.
kindly give any guidance for time optimizing