LiveRamp Interview Question

Both questions from cracking the coding interview book.