r/AskProgramming • • 14d ago

Algorithms Do u know algorithms?

Hii guys 🤘

I always have some troubles with algorithms and sometimes it makes me feel that programming it isn't for me. 😥

I'm a full-stack JS (React/Node) develor and I have 2.5+ years of experiecne. I've done a lot of features and made a lot of good decisions. I started programming when enrolled a uni and I'm obsessed with that from those days. I like full-stack cuz I always can do a full app without someone and I know the best practices for the both parts.

So I always hard with myself because of algos, I really don't have "mathematic thinking" and it makes me frustrated somtimes. I always think straightforward, I have not ideas how to solve a problem by a good way like from the other side yk. And I tried to solve some tasks on leetcode cuz an AI told me that it's just experience and I jsut need to know typicall patterns, and probably it helped a little but I couldn't change my mind and I gave up 😓 .

I rate myself around middle (beginner) but I really struggled with algos and I can't understand what's the problem - me or just experience. Cuz sometimes it affects on my job, for example when I need to create some algo it takes a while to write real good but not brute-force solution yk. 😖

One of my friend has such a good math thinking and I always compare myself with him, it's not so hard for him to find a way to solve some problem. He can resolve medium tasks on LeetCode without a lot of problems as me. Probably each medium task took a lot of my time. 😭

Guys how're ur deals with algos lmk pls. And pls share ur experience and stack. If u have some advice I'd be glad to give it from u. Thanks for advice 🙏

Peace ✌️

0 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Ok-Explanation9697 14d ago

do u usually solve issues on LeetCode? And who are u (back. front. desktop)?

2

u/NotACockroach 14d ago

I'm a senior backend developer with 10 YOE. I do not touch leetcode regularly for the reasons mentioned in my first paragrph. I do a lot of leet code leading up to an interview.

Coding on a time limit while someone watches you is completely different from the real job. While companies aren't usually asking literal leetcode questions any more, I found it an effective way to drill my interview condition speed.

1

u/Ok-Explanation9697 14d ago

Okay. Got u. Thank uuu so much ✌️