home.social

#leetcode — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #leetcode, aggregated by home.social.

  1. Модуль collections в Python: ваш чит-код для решения алгоритмических задач

    Пишете list.pop(0) и удивляетесь, почему решение на LeetCode отваливается по Time Limit? Пора перестать изобретать велосипед. Модуль collections — это легальный чит-код, который уже встроен в Python. В статье разбираем три главных инструмента (deque, Counter, defaultdict), которые покроют 90% ваших потребностей в алгоритмических задачах, избавят от лишних циклов и покажут интервьюерам, что вы действительно знаете стандартную библиотеку.

    habr.com/ru/articles/1032834/

    #python #collections #алгоритмы #leetcode #собеседования #структуры_данных #deque #counter #defaultdict #big_o

  2. I Found LeetCode for Software Design and It’s Awesome Hello guys, If you’re preparing for  FAANG interviews , you already know that  Data Structures & Algorithms (DSA) and System Design ...

    #BugfreeAI #LeetCode #Review #Software #Design #System #Design

    Origin | Interest | Match
  3. For those in the Edmonton (YEG) area, join the Weekly Dev Chat for a Whiteboard Practice Night. We’ll go through junior-friendly coding problems where the goal is communicating your thinking, not getting the perfect answer.

    We’ll do easy warm-ups / LeetCode-style questions and practice talking through assumptions, approaches, and tradeoffs.

    Bring your laptop and a desire to learn/help others.

    Register here: luma.com/hcsxff11

    #weeklydevchat #irl #yeg #leetcode #interviewprep #whiteboard

  4. Мой опыт решения 50 задач по динамическому программированию из LeetCode-плана за 24 дня

    Всем привет! Я решил углубленно изучить динамическое программирование и поделиться с вами опытом. Недавно я обнаружил довольно интересный план обучения на LeetCode ( leetcode.com/studyplan/dynamic ), взял его за основу - и полностью завершил, решив все задачи (50/50).

    habr.com/ru/articles/995376/

    #LeetCode #dynamic_programming #собеседования

  5. AlgoExpert 199$/năm chỉ có 160 bài, còn có nhiều lựa chọn rẻ hơn hoặc miễn phí: NeetCode (free/119$/yr) với >300 video ngắn gọn, LeetCode Premium (159$/yr) >3k bài + company tags, Educative, Design Gurus, AlgoMonster… Tự chọn định dạng (video hay text) và ngân sách cho prep interview. #coding #interview #AlgoExpert #NeetCode #LeetCode #Educative #Vietnam #tech

    dev.to/alex_hunter_44f4c9ed667

  6. AlgoExpert 199$/năm chỉ có 160 bài, còn có nhiều lựa chọn rẻ hơn hoặc miễn phí: NeetCode (free/119$/yr) với >300 video ngắn gọn, LeetCode Premium (159$/yr) >3k bài + company tags, Educative, Design Gurus, AlgoMonster… Tự chọn định dạng (video hay text) và ngân sách cho prep interview. #coding #interview #AlgoExpert #NeetCode #LeetCode #Educative #Vietnam #tech

    dev.to/alex_hunter_44f4c9ed667

  7. oh man... i am still in pain from day 3 AOC 2025 🎄 ✨
    but it works.... after scrapping my naive combinations approach (i was trying to compute 121 billion combinations and compare them, my computer glitched and shutdown haha) now i went with a greedy stack based comparison....

    codeberg.org/jjba23/aoc-2025/s

    #adventofcode #aoc #guile #scheme #guix #lisp #challenge #leetcode #functional #programming #fp #emacs #stack #greedy #push #pop

  8. ✔️ Just cracked LeetCode 33 – Search in Rotated Sorted Array in a super unique way! 🚀✅
    Optimized for 🔥100% speed & efficiency ✅
    Algorithm + Binary Search mastery unlocked! 📊✨
    #LeetCode #100DaysOfCode #CodingChallenge #Java #Algorithm #BinarySearch #ProblemSolving #Tech #Programming #UniqueApproach

  9. Как я впервые столкнулся со связанными списками и не сдался

    Я решил улучшить свои навыки алгоритмов перед собеседованиями и начал с простых задач. Всё шло гладко… пока не наткнулся на “Merge Two Sorted Lists” — нужно объединить два отсортированных связанных списка в один. В статье делюсь тем, как я разобрался в этой структуре данных, решил задачу и что вынес из этого опыта. Для новичков однозначно будет полезно!

    habr.com/ru/articles/917218/

    #leetcode #алгоритмы #структуры_данных #задачи #задачи_для_собеседований #связанный_список #linkedlist #обучение #обучение_программированию

  10. Ever tried finding the minimum depth of a binary tree? 🌳 It’s not as simple as it sounds! The challenge lies in correctly identifying the shortest path to a leaf node (one with no children). This post dives into the nuances, common pitfalls, and multiple solution approaches—recursive and iterative—to tackle this problem effectively. Whether you're a coding enthusiast or prepping for interviews, this is a gem! Read more here: fanyangmeng.blog/111-minimum-d #LeetCode #BinaryTree #Coding

  11. HashMap ကို မကြားဖူးဘူးမှတ်နေတာ JavaScript ရော၊ TypeScript ရောမှာ ရှိမှမရှိဘဲကိုး 🙃
    Custom HashMap နဲ့လုပ်ရတော့မယ် LeetCode မှာ

    #HashMap #JavaScript #TypeScript #LeetCode

  12. ☑️ Day 30/100: #Leetcode daily question

    🟨 Question: 2501. Longest Square Streak in an Array

    Easy question

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718

    #Algorithms #python #coding #binarysearch

  13. Решение задачи с собеседования Linked List Cycle [+ ВИДЕО]

    Всем салют! Давайте решим задачу " Linked List Cycle " Дан head , являющийся головой связного списка, необходимо определить, есть ли в списке цикл.

    habr.com/ru/articles/853928/

    #алгоритм #алгоритмы #интервью #leetcode #linkedlist #связный_список #faang

  14. ☑️ Day 26/100: #Leetcode daily question

    🟨 Question: 951. Flip Equivalent Binary Trees

    Good binary tree question and I did see the approach but got good understanding of tree questions

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 My Leetcode Github: github.com/akshatsingh1718

    🔗 Solution Link: github.com/akshatsingh1718/lee

    #coding #Algorithms #python #binarytree #bst

  15. ☑️ Day 25/100: #Leetcode daily question

    🟨 Question: 2641. Cousins in Binary Tree II

    Easy binary tree question but I saw the solution, could be done without seeing it.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #pyton #leetcode #Algorithms #bst #binarytree

  16. ☑️ Day 24/100: #Leetcode daily question

    🟨 Question: 2583. Kth Largest Sum in a Binary Tree

    Easy binary tree question

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #pyton #leetcode #Algorithms #bst #binarytree

  17. Использование очередей (Queue/Deque) для решения алгоритмических задач на Java

    Как всегда, сначала немного базовой теории для понимания того, с чем мы имеем дело. Queue - однонаправленная очередь, представляет собой структуру данных, которая строится по принципу FIFO (first-in-first-out) . Другими словами, чем раньше элемент был добавлен в коллекцию, тем раньше он оттуда будет удален. Выжимка по методам:

    habr.com/ru/articles/833444/

    #java #leetcode #алгоритмы #deque #программирование #queue #javarush #alhoritms

  18. Изучаем новые структуры данных для iOS разработчика

    Мобильные разработчики редко сталкиваются в работе со сложными структурами данных. Как правило, в рутинных задачах вполне достаточно уметь использовать Array , Dictionary и Set . Но сегодня не об этом. Хороших статей о том, как устроены эти структуры данных, предостаточно. Сегодня я хотел бы рассказать о редких и недооцененных структурах данных. И самое главное, как впустить их в свою рутинную жизнь разработчика.

    habr.com/ru/articles/827162/

    #data_structures #alhoritms #swift #deque #heap #orderedset #ordereddictionary #leetcode #trie #мобильная_разработка

  19. Nim is like Python on steroids. Crystal is like Ruby on steroids. Which one is suited for competitive programming involving data structures like doubly linked lists? And which language is best for multi-core parallelism? Would love to hear opinions.