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.
There are ways to make code even shorter but this is far less readable than the above one, without any reduction in complexity since constants dont count. This is really short problem but 'readability' is really important factor in designing large softwares and shouldnt be ignored like this.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Time Conversion
You are viewing a single comment's thread. Return to all comments →
There are ways to make code even shorter but this is far less readable than the above one, without any reduction in complexity since constants dont count. This is really short problem but 'readability' is really important factor in designing large softwares and shouldnt be ignored like this.