Calculate Days Between Arbitrary Gregorian Dates

Quick Overview

Calculate the absolute number of days between arbitrary valid Gregorian dates without enumerating each day or relying on a limited date library. Account for century and four-hundred-year leap rules across very large positive years.

Calculate Days Between Arbitrary Gregorian Dates

Company: Optiver

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Online Assessment

Overview: Calculate the absolute number of days between arbitrary valid Gregorian dates without enumerating each day or relying on a limited date library. Account for century and four-hundred-year leap rules across very large positive years.

|Home/Coding & Algorithms/Optiver
Optiver logo
Optiver
May 29, 2026
mediumSoftware EngineerOnline AssessmentCoding & Algorithms
7
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...