You don't need to, but you should be able to recall them quickly when a problem starts to look like something already solved. There are a lot of developers who rewrite everything or whose lack of familiarity with the ins and outs of their language or how to apply simple algorithms leads them to come up with really complicated solutions to simple problems.