Verizon interview question

More about OOPS, algorithms and Data structure