Šimon Tóth’s Post

View profile for Šimon Tóth

C++ Educational Content Creator | 20 years of Software Engineering experience distilled into digestible daily posts

Tuesday C++ common interview problem. Implement a Max-Stack data structure that provides the following interface: O(1) complexity methods: top() and max() O(logn) complexity methods: push(), pop() and pop_max() Solve it yourself: https://lnkd.in/ek-pkjea Solution: https://lnkd.in/e3B6Ub_Q #cpp #cplusplus #coding #programming #dailybiteofcpp

  • text

To view or add a comment, sign in

Explore content categories