#leetcode — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #leetcode, aggregated by home.social.
-
Модуль collections в Python: ваш чит-код для решения алгоритмических задач
Пишете list.pop(0) и удивляетесь, почему решение на LeetCode отваливается по Time Limit? Пора перестать изобретать велосипед. Модуль collections — это легальный чит-код, который уже встроен в Python. В статье разбираем три главных инструмента (deque, Counter, defaultdict), которые покроют 90% ваших потребностей в алгоритмических задачах, избавят от лишних циклов и покажут интервьюерам, что вы действительно знаете стандартную библиотеку.
https://habr.com/ru/articles/1032834/
#python #collections #алгоритмы #leetcode #собеседования #структуры_данных #deque #counter #defaultdict #big_o
-
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: https://luma.com/hcsxff11
#weeklydevchat #irl #yeg #leetcode #interviewprep #whiteboard
-
Мой опыт решения 50 задач по динамическому программированию из LeetCode-плана за 24 дня
Всем привет! Я решил углубленно изучить динамическое программирование и поделиться с вами опытом. Недавно я обнаружил довольно интересный план обучения на LeetCode ( https://leetcode.com/studyplan/dynamic-programming/ ), взял его за основу - и полностью завершил, решив все задачи (50/50).
-
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
-
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
-
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....https://codeberg.org/jjba23/aoc-2025/src/branch/trunk/days/day-3-lobby
#adventofcode #aoc #guile #scheme #guix #lisp #challenge #leetcode #functional #programming #fp #emacs #stack #greedy #push #pop
-
✔️ 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 -
Как я впервые столкнулся со связанными списками и не сдался
Я решил улучшить свои навыки алгоритмов перед собеседованиями и начал с простых задач. Всё шло гладко… пока не наткнулся на “Merge Two Sorted Lists” — нужно объединить два отсортированных связанных списка в один. В статье делюсь тем, как я разобрался в этой структуре данных, решил задачу и что вынес из этого опыта. Для новичков однозначно будет полезно!
https://habr.com/ru/articles/917218/
#leetcode #алгоритмы #структуры_данных #задачи #задачи_для_собеседований #связанный_список #linkedlist #обучение #обучение_программированию
-
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: https://fanyangmeng.blog/111-minimum-depth-of-binary-tree/ #LeetCode #BinaryTree #Coding
-
Ruby's expressiveness is second to none.
-
@[email protected] "Two linked lists at the same time." AKA, "If leetcode questions actually happened on the job."
https://www.tiktok.com/@alberta.nyc/video/7445803475595775274?lang=en
#SoftwareEngineering
#SoftwareDevelopment
#software
#corecore
#hopelesscore
#hopelessnesscore
#tiktok
#programming
#LinkedList
#DataStructures
#Algorithms
#LeetCode
#PLT -
HashMap ကို မကြားဖူးဘူးမှတ်နေတာ JavaScript ရော၊ TypeScript ရောမှာ ရှိမှမရှိဘဲကိုး 🙃
Custom HashMap နဲ့လုပ်ရတော့မယ် LeetCode မှာ -
☑️ 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: https://github.com/akshatsingh1718/leetcode/tree/main/longestSquareStreakinanArray
🔗 My Leetcode Github: https://github.com/akshatsingh1718
-
Решение задачи с собеседования Linked List Cycle [+ ВИДЕО]
Всем салют! Давайте решим задачу " Linked List Cycle " Дан head , являющийся головой связного списка, необходимо определить, есть ли в списке цикл.
https://habr.com/ru/articles/853928/
#алгоритм #алгоритмы #интервью #leetcode #linkedlist #связный_список #faang
-
☑️ 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: https://github.com/akshatsingh1718
🔗 Solution Link: https://github.com/akshatsingh1718/leetcode/tree/main/flipEquivalentBinaryTrees
-
☑️ 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: https://github.com/akshatsingh1718/leetcode/tree/main/cousinsinBinaryTreeII
🔗 My Leetcode Github: https://github.com/akshatsingh1718/leetcode
-
☑️ 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: https://github.com/akshatsingh1718/leetcode/tree/main/kthLargestSuminaBinaryTree
🔗 My Leetcode Github: https://github.com/akshatsingh1718/leetcode
-
Использование очередей (Queue/Deque) для решения алгоритмических задач на Java
Как всегда, сначала немного базовой теории для понимания того, с чем мы имеем дело. Queue - однонаправленная очередь, представляет собой структуру данных, которая строится по принципу FIFO (first-in-first-out) . Другими словами, чем раньше элемент был добавлен в коллекцию, тем раньше он оттуда будет удален. Выжимка по методам:
https://habr.com/ru/articles/833444/
#java #leetcode #алгоритмы #deque #программирование #queue #javarush #alhoritms
-
Изучаем новые структуры данных для iOS разработчика
Мобильные разработчики редко сталкиваются в работе со сложными структурами данных. Как правило, в рутинных задачах вполне достаточно уметь использовать Array , Dictionary и Set . Но сегодня не об этом. Хороших статей о том, как устроены эти структуры данных, предостаточно. Сегодня я хотел бы рассказать о редких и недооцененных структурах данных. И самое главное, как впустить их в свою рутинную жизнь разработчика.
https://habr.com/ru/articles/827162/
#data_structures #alhoritms #swift #deque #heap #orderedset #ordereddictionary #leetcode #trie #мобильная_разработка
-
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.
#nim #crystal #python #ruby #golang #rust #parallelism #concurrency #competitiveprogramming #leetcode