Implement a data structure which provides all stack operations in O(1)(e.g. push(), pop()) and also provides findMin() in O(1) in worst case.
1 year ago
Feel free to contribute, however it will be moderated to curb spams.
Implement a data structure which provides all stack operations in O(1)(e.g. push(), pop()) and also provides findMin() in O(1) in worst case.
No comments:
Post a Comment