Why are both the algorithm used for finding the orthogonal and orthonormal basis the same? I'm relying on a set of slides given by by lecturer (known to be sloppy!) and I want to confirm if it should be the same.
Edit:
As can be seen, the algorithm are both the same!

An orthonormal basis is an orthogonal basis whose vectors have been scaled to have length $1$ under the norm induced by the inner product. That is, if you wish to find an orthogonal basis, it is enough to find an orthonormal one. Conversely, if you have an orthogonal basis, you may make it orthonormal by simply scaling each vector.