# How can I use the algorithm package with the memoir class

Currently there are no compilation issues. However, \listofalgorithms does not work.

Additionally, my algorithms are missing titles. This is the most important thing for me. How can I get the algorithm titles to appear when I am using algorithms with memoir?

\documentclass[a4paper]{memoir}