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.
staticintlagDuration(inth1,intm1,inth2,intm2,intk){// Return an integer denoting the duration of time in minutes by which the clock has been lagging.inth=(h1*60)+(k*60)+m1;intwh=(h2*60)+m2;returnMath.abs(h-wh);}
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Join us
Create a HackerRank account
Be part of a 26 million-strong community of developers
Please signup or login in order to view this challenge
Clock Delay
You are viewing a single comment's thread. Return to all comments →