I reckon there is no need to know algorithms by heart, I mean its rather good to know which algorithm you need to use for the particular issue. If you know that you can look up easier in the search engines for your solution.
Comment by József Pallagi on "What are the top 10 algorithms every software engineer should know by heart?" | Hashnode