bugl
Home
Learn
Patterns
Paths
Search
Premium
Auto
Home
Learn
Patterns
Paths
Easy
Math & Geometry
LC 1118
Number of Days in a Month
Given a year year and a month month, return the number of days of that month.
Asked at 1 company
Amazon
Hints
1.
Think about which data structure fits best
2.
Consider the time complexity of your approach
3.
Look for patterns in the constraints
Start Puzzle
LeetCode