GoLang Solution For LeetCode Problem: Day of the Week
Solving Day of the Week in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.
Given a date, return the corresponding day of the week for that date.
Input: day = 31, month = 8, year = 2019 Output: "Saturday"
Input: day = 18, month = 7, year = 1999 Output: "Sunday"
Input: day = 15, month = 8, year = 1993 Output: "Sunday"
See the full details of the problem Day of the Week at LeetCode
Originally posted at: @github.com/halfrost/LeetCode-Go