WD interview question

Explanation about Data structures in real life algorithms