Remotebase Interview Question

Q: High difficulty DS Problems.