Google interview question

Dsa algorithm basics and advanced