Love your comment history. Who’s talking about memorizing anything? It’s called “learning” and “practicing”. No one expects you to wake up one day and know how to do everything nor do they expect you to figure it all out by yourself. That’s pointless.

In school, you practice problems, then you take the test. In interviews, you practice problems, then take the test.