4 ms·
Relevant XKCD : https://xkcd.com/2867/ https://xkcd.com/2867/
by arnaudsm 2y ago
Relevant XKCD : https://xkcd.com/2867/ https://xkcd.com/2867/
- barrettondricka 2y agoRelevant Tom Scott video: https://www.youtube.com/watch?v=-5wpm-gesOY https://www.youtube.com/watch?v=-5wpm-gesOY
- undebuggable 2y agoWell I failed one interview because to calculate number of days in between I suggested substracting Unix timestamps and dividing the difference by 86400.
- blharr 2y agoIs there a problem with that or were the interviewers just being stubborn?
- undebuggable 2y agoI understand the interviewer wanted to approach the problem as non decimal number of months in a year and variable number of days in a month. One day as the most granular entity. I didn't even wanted to argue over leap years and why the year 1900 wasn't one. It was consecutive meeting in a row and I was too tired for his shit.