Elbit Systems Interview Question

implement get(), set(), setall() in o(1)