Problems
Contest
Discuss
Interview
Online Interview
Assessment
Store
Redeem
Premium
For you
For you
Create
Most Votes
All Time
Newest
No search result
Create
google | Tech Screen | SDE 1
Anonymous User
502
Google
Interview
Python
Tracker - it tracks integers
- track(int) -> Keeps track of the given integer
- min() -> Returns the smallest integer tracked so far
- max() -> largest
- mean() -> avg
- mode() -> Returns the integer that has been tracked the most
All of these methods must be O(1) - constant time
0
3
Comments (3)
Sort by:
Best
Comment
1
Explore
Download App
Support
Terms
Privacy Policy
More
Copyright © 2026 LeetCode
United States