Chime Backend SDE2 Online Interview Experience and BrowserHistory System Design
Question Details
Backend Position The first HR call suggested an SDE2 or Senior position, but recommended SDE2, saying a better performance would lead to further discussion. Therefore, the interview was likely at the
Full Details
Backend Position The first HR call suggested an SDE2 or Senior position, but recommended SDE2, saying a better performance would lead to further discussion. Therefore, the interview was likely at the SDE2 level. The phone interview questions were classic interview questions. The following content requires a score of 88 or higher. You can already view it. Design a simplified browser history system that supports the following operations: visit(url: string) Visit a new URL from the current page. When this happens, all forward history should be cleared. back(steps: int) -> string Move backward in history by up to steps. Return the current page after moving back. If you can’t move steps times because you reach the beginning of history, stop at the first page. forward(steps: int) -> string Move forward in history by up to steps. Return the current page after moving forward. If you can’t move steps times because you reach the end of history, stop at the last page. You should implement a class BrowserHistory that initializes with a homepage and supports these methods. Bonus 1: Write a boolean hasVisited function to determine if a URL has been visited. Bonus2: handle multi-tab The overall experience was very good. The Southeast Asian female interviewer was also very friendly, and I was quickly notified of my next round.