2 separate interviews.
30 min coding interview:
- tell me a little bit about yourself
- write a function to check if array is in sorted order
60 min coding interview with team:
- reverse a string
- write a simple arithmetic expression as a binary tree, and write a function to evaluate it, include the data structure
- (mathematical) if you had y tree units where y=x^2 for x being the year (the inventory is the year squared, starting from year 0, going to year 1, etc), and if you were to cash out the inventory at any year and the money will be compounded annually at 10%, would it be more worth it to hold onto the inventory or cash out? Note that you can only cash out once.