There is no such thing as "junior level algorithm".
And one does not memorize algorithms.
And one does not memorize algorithms.
This thinking was popularized by coding competions which existed before leetcode and inspired leetcode. Schools themselves produced people who believed these puzzles are what makes you superior developer - one of us, special and choosen.