Модуль 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

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

Привет, Хабр! Если вы хоть раз пытались вкатиться в алгоритмы, решали задачки на LeetCode или готовились к собеседованиям, то наверняка ловили в лицо обидную ошибку Time Limit Exceeded (TLE) . Вроде...

Хабр

Python Deque Advanced Usage

collections.deque for efficient queue and stack operations
Double-ended queue with O(1) operations
Deque as queue (FIFO)

#python #programming #tutorial #coding #deque #advanced #usage

https://www.youtube.com/watch?v=OehHxHYmv7I

Python Deque Advanced Usage #deque

YouTube
So far, lots of push back against the #AI #hype at #Deque #Axecon #A11Y
[Python] deque 実践編 - スライディングウィンドウと応用パターン - Qiita

はじめに 前回は deque の基本を学びました。今回は、実務でよく使われるパターンを解説します。特にスライディングウィンドウは deque の真価を発揮する場面です。 スライディングウィンドウ 移動平均の計算 from collections import deq...

Qiita

🔍 Coneixeu la Universitat d’Estiu del Cooperativisme? Impulsada per la CoopCat, a la #UESCOOP2025 reflexionarem i parlarem, entre d’altres coses, de:

⚡ Energia i sobirania
💰 Nous models de finançament cooperatiu
📚 Connexió entre universitat i #cooperativisme

Veniu a la #UESCOOP2025 i descobriu-ho 👇

🎟️ Inscriviu-vos a http://uescoop.coop
📅 2, 3 i 4 de juliol | 📍 UAB

https://www.youtube.com/watch?v=3Yc3nOwJRWA

#Cooperativisme #UESCOOP2025 #PersonesAlCentre #DeQuè?

UESCOOP – Universitat d'Estiu del Cooperativisme

🚀🍏 The article pitches a "revolutionary" data #structure that's basically a #deque with a fancy hat. Because what we really need in 2023 is yet another way to shuffle numbers around, right? 🙄💡
https://github.com/attilatorda/Shift-To-Middle_Array #revolutionarydata #innovation #techhumor #shufflingnumbers #HackerNews #ngated
GitHub - attilatorda/Shift-To-Middle_Array: An innovative data structure for implementing lists and deques

An innovative data structure for implementing lists and deques - attilatorda/Shift-To-Middle_Array

GitHub

Who on Mastodon will follow this year's #axecon by #deque?

Are the talks and sessions actually interesting and useful for the day to day work to increase #accessibility in apps and websites?

I for myself want to get a deeper understanding for this very important topic as a developer and think that this convention could be a good starting point?

#AxeCon2025

Алгоритмы поиска путей на пальцах. Часть 1: Поиск в ширину

Давайте представим, что вы устроились много лет назад в 2GIS и вам выпала честь написать алгоритм, который будет прокладывать самый короткий автомобильный маршрут от точки A к точке B. Вы отправляетесь искать информацию и к счастью натыкаетесь на эту статью, где мы с вами подробно обсудим популярные алгоритмы поиска пути.

https://habr.com/ru/articles/856138/

#python #bfs #algorithms #deque #graphs

Алгоритмы поиска путей на пальцах. Часть 1: Поиск в ширину

Давайте представим, что вы устроились много лет назад в 2GIS и вам выпала честь написать алгоритм, который будет прокладывать самый короткий автомобильный маршрут от точки A к точке B. Вы...

Хабр
Deque Systems Sues BrowserStack for Intellectual Property Theft | Deque

Deque Systems Inc. has filed a federal lawsuit against BrowserStack, Inc. and its affiliate companies for copyright infringement, breach of contract and false advertising.

Deque