Boston Dynamics interview question

Describe in general terms a SLAM algorithm