Experian Interview Question

There were 2 JavaScript algorithm problems with 45 minutes to resolve both.