OneTrust Interview Question

technical basics, array, heap, loop