OKG interview question

Q: Basic algorithm and data structure