Avalara Interview Question

1. Stock Span problem. 2. Employee with second highest salary SQL.