Are algorithms helpful in game programming?

I got the Introduction to Algorithms book, and it has algorithms on sorting, order statistics, BST’s, B-Trees and lots more. So I just wanted to know how useful these are in game programming, it would be helpful if someone could give an in game example as it will motivate me :stuck_out_tongue: