Design Browser History at Snapchat
Medium78.2% acceptance
This problem has 50.0% frequency at Snapchat.
Problem Description
You have a **browser** of one tab where you start on the `homepage` and you can visit another `url`, get back in the history number of `steps` or move forward in the history number of `steps`. Implement the `BrowserHistory` class: * `BrowserHistory(string homepage)` Initializes the object with t...
Read full problem and hints