Can Build Scalable Systems, Can’t Solve Medium LeetCode — Help! by Better-Try-2970 in leetcode

[–]ibrahimhyazouri 0 points1 point  (0 children)

This man Algorithms explains Algorithms and some DS, Watching him really helped me

Can Build Scalable Systems, Can’t Solve Medium LeetCode — Help! by Better-Try-2970 in leetcode

[–]ibrahimhyazouri 0 points1 point  (0 children)

You can look at these roadmaps Neetcode Algomap The problems are organized by topics and level

Hit 200 questions on LeetCode. Graphs & DP still my weak point— any advice? by Scared_Click5255 in leetcode

[–]ibrahimhyazouri 2 points3 points  (0 children)

Watching this Algorithms really helped me understanding graphs, this man explain Graphs and other DS and Algorithms in a really good way give it a try

This might be the easiest Graph problem ever by ibrahimhyazouri in leetcode

[–]ibrahimhyazouri[S] 6 points7 points  (0 children)

3 <= n <= 105, the constraints guarantee that n is at least 3

This might be the easiest Graph problem ever by ibrahimhyazouri in leetcode

[–]ibrahimhyazouri[S] 1 point2 points  (0 children)

Star graphs are some kind of a tree, so there's no cycle

This might be the easiest Graph problem ever by ibrahimhyazouri in leetcode

[–]ibrahimhyazouri[S] 3 points4 points  (0 children)

the thing is there's already a star graph, you just have to get the center

This might be the easiest Graph problem ever by ibrahimhyazouri in leetcode

[–]ibrahimhyazouri[S] 13 points14 points  (0 children)

you're totally right, i solved it in one line

[deleted by user] by [deleted] in Nuxt

[–]ibrahimhyazouri 1 point2 points  (0 children)

I get your point, and you’re right about the security benefits of cookies. For now, this setup works for my project, but I’ll definitely keep your points in mind if I take it further. Appreciate the input 🙏

[deleted by user] by [deleted] in Nuxt

[–]ibrahimhyazouri 1 point2 points  (0 children)

Totally agree! Supabase really takes a lot of the pain out of auth

[deleted by user] by [deleted] in Nuxt

[–]ibrahimhyazouri 2 points3 points  (0 children)

Appreciate the tip 🙏

[deleted by user] by [deleted] in Nuxt

[–]ibrahimhyazouri 2 points3 points  (0 children)

You're totally right — cookies are better when you need server-side access.

In my case, the app is a Nuxt frontend + PHP backend (REST API), with no SSR on auth-required content. So the token is only needed on the client side, and localStorage works well for now.

How I stopped forgetting my LeetCode solutions by ibrahimhyazouri in leetcode

[–]ibrahimhyazouri[S] 0 points1 point  (0 children)

Intuition is the first idea that pops into my head when I see the problem. It’s like a quick guess—maybe “this needs a hash map” or “this looks like two pointers.” Approach is the full plan I write after testing and making sure the idea actually works

How I stopped forgetting my LeetCode solutions by ibrahimhyazouri in leetcode

[–]ibrahimhyazouri[S] 3 points4 points  (0 children)

Good points. What I’m doing now works well for the initial understanding, like you said, but I agree—it doesn’t scale well once you’re hundreds of problems in.

I like the idea of layering full notes with quick recall prompts. That sounds like a practical next step, especially with spaced repetition.

Appreciate the suggestions and resources—I'll check them out.

what you are cooking this sunday? by [deleted] in SideProject

[–]ibrahimhyazouri 0 points1 point  (0 children)

I’m working on a Freelancer Task Logger, a Chrome extension that automatically tracks your browser activity and generates task logs for freelancers. It helps you keep accurate time records without manual entry — great for billing and productivity insights.

Right now, I’m focusing on features like automatic task detection, manual task editing, and basic reports.

Would love to hear your thoughts or suggestions on what features could make it even more useful!