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.
Looks like the problem has changed slightly. Here is the full solution that I've just tested, and it's working (basically you have to create the class "Solution" also)
Java Date and Time
You are viewing a single comment's thread. Return to all comments →
Looks like the problem has changed slightly. Here is the full solution that I've just tested, and it's working (basically you have to create the class "Solution" also)
From my HackerRank solutions.