Second honest question, did you have to do that, or did you do that because it was Not Invented Here?
Virtually no-one in our industry needs to write algos regularly. If you are, that probably means you're a bad programmer suffering from NIH syndrome. Or you're one of a tiny group who actually need to because you're doing something cutting edge.
Most of the time is db stuff, sure. But it is always useful someone who can think and solve problems.
Do you actually believe that's true? I can understand if this is just a knee-jerk comment that you haven't put thought into, but if it isn't that, I truly hate your kind of thinking.
While I'm not a fan of modern front-end programming, I do appreciate the sheer amount of knowledge and tedium involved in making that 'read/write DB operation' actually work in the context of the demands of modern front-end development, and I despise those who pretend it's trivial.
Is it different from the kind of knowledge necessary for picking the right algorithm? sure! Is it inferior (by whatever definition that self-servingly serves), and does it involve 'knowing nothing'? Far from it. Knowing what's necessary for a lot of front-end work is far from trivial, and while I dislike it, pretending it involves no knowledge or expertise is 100% pure bullshit.
Let's imagine all you know is handling a full-featured framework like Rails or Django - while relatively mundane and boring I'd argue that alone turns you into a very capable developer who's able to make things happen without diving into rocket science.
I find many discussions about these issues tiresome because they feel like someone arguing that 'writing', in general, is about grammar, or vocabulary, or style, or whatnot. It's about all these things, and none of these things, depending on the context.