Visa Inc. interview question

Construct a binary tree using oops concept