Fancode Interview Question

API based assignment to calculate different metrics