Chubb Interview Question

Basics and programming and simple code snippets to look into efficiency