Tagged articles

Data Structures

655 articles · Page 4 of 7
macrozheng
macrozheng
Jun 24, 2022 · Backend Development

Master Redis Data Types: Real‑World Use Cases & Implementation Guide

This comprehensive guide explains Redis's core and newer data types—including String, List, Hash, Set, Zset, BitMap, HyperLogLog, GEO, and Stream—detailing their internal implementations, essential commands, and practical scenarios such as caching, counting, locking, ranking, geolocation, and reliable message queuing.

Data StructuresRediscaching
0 likes · 46 min read
Master Redis Data Types: Real‑World Use Cases & Implementation Guide
Senior Brother's Insights
Senior Brother's Insights
Jun 13, 2022 · Fundamentals

Why Does Java’s ArrayList Default to a Capacity of 10?

This article explains why Java’s ArrayList uses a default initial capacity of 10, contrasts it with HashMap’s 16‑element default, and walks through the lazy‑initialization logic and growth algorithm that keep the capacity at ten until the first element is added.

Data StructuresDefault CapacityHashMap
0 likes · 9 min read
Why Does Java’s ArrayList Default to a Capacity of 10?
Open Source Linux
Open Source Linux
Jun 6, 2022 · Fundamentals

Unlock 50,000 Words of C/C++ Mastery: Key Concepts, Code & Tips

This comprehensive C/C++ knowledge base covers everything from basic syntax, const, static, and this pointers to advanced topics like inline functions, virtual methods, smart pointers, STL containers, data structures, algorithms, operating system concepts, networking layers, and common interview problems, complete with code examples and diagrams.

AlgorithmsC++Data Structures
0 likes · 66 min read
Unlock 50,000 Words of C/C++ Mastery: Key Concepts, Code & Tips
ITPUB
ITPUB
Jun 3, 2022 · Backend Development

Unlocking Redis Speed: A Deep Dive into Its Core Data Structures

This article explains why Redis is ultra‑fast by exploring its in‑memory design and the nine fundamental data structures—SDS, linked lists, ziplist, hash tables, skiplist, intset, quicklist, and listpack—that power keys, values, and internal objects, complete with code examples and version‑specific changes.

Data StructuresHash TableRedis
0 likes · 45 min read
Unlocking Redis Speed: A Deep Dive into Its Core Data Structures
MaGe Linux Operations
MaGe Linux Operations
May 20, 2022 · Fundamentals

Master Python Essentials: Numbers, Strings, Functions, and Objects Explained

This comprehensive guide walks through Python fundamentals, covering numeric operations, base conversions, ASCII handling, logical checks, type casting, string manipulation, slicing, lambda usage, data structures, class definitions, object introspection, and useful built‑in functions, complete with clear code examples and explanations.

Data StructuresObject-Orientedbasics
0 likes · 29 min read
Master Python Essentials: Numbers, Strings, Functions, and Objects Explained
Cognitive Technology Team
Cognitive Technology Team
May 14, 2022 · Backend Development

Copy‑On‑Write Strategy and Its Implementation in Java's CopyOnWriteArrayList

The article explains the copy‑on‑write (COW) concurrency strategy, its suitability for read‑heavy scenarios, and demonstrates how Java implements COW with CopyOnWriteArrayList and CopyOnWriteArraySet, including volatile array handling, write‑locking, snapshot reads, and iterator behavior.

Copy-on-WriteCopyOnWriteArrayListData Structures
0 likes · 7 min read
Copy‑On‑Write Strategy and Its Implementation in Java's CopyOnWriteArrayList
Selected Java Interview Questions
Selected Java Interview Questions
May 12, 2022 · Fundamentals

How Hash Tables Store Data and Resolve Collisions

This article explains the basic structure of hash tables, how keys are mapped to array indices, the problem of hash collisions, and two common resolution strategies—open addressing and chaining—illustrated with diagrams and a concise summary.

Data StructuresHash Tablechaining
0 likes · 3 min read
How Hash Tables Store Data and Resolve Collisions
IT Services Circle
IT Services Circle
Apr 28, 2022 · Fundamentals

Using Bloom Filters with Redis and Redisson: Theory, Installation, and Practical Code Samples

This article explains the concept of Bloom filters, their probabilistic behavior and limitations, demonstrates how to integrate them into Redis via the RedisBloom module, and provides complete Java/Redisson examples for creating, populating, and querying Bloom filters to prevent cache penetration and duplicate processing.

Bloom filterCache PenetrationData Structures
0 likes · 12 min read
Using Bloom Filters with Redis and Redisson: Theory, Installation, and Practical Code Samples
Java Backend Technology
Java Backend Technology
Apr 25, 2022 · Backend Development

Why Netty’s IntObjectHashMap Beats HashMap: Deep Dive into Performance and Design

This article explores Netty’s IntObjectHashMap, explaining how its use of primitive int keys and open‑addressing linear probing reduces memory overhead and improves performance compared to standard HashMap, while detailing its source‑code evolution, capacity handling, probing strategy, load factor, and deletion compaction.

Data StructuresHashMapIntObjectHashMap
0 likes · 19 min read
Why Netty’s IntObjectHashMap Beats HashMap: Deep Dive into Performance and Design
Su San Talks Tech
Su San Talks Tech
Apr 9, 2022 · Backend Development

Why Netty’s IntObjectHashMap Beats HashMap: A Deep Dive into Performance and Design

This article explores how Netty’s IntObjectHashMap improves high‑concurrency ticket‑pricing scenarios by using primitive int keys, open‑addressing linear probing, and careful capacity adjustments, revealing the source‑code evolution, hashIndex optimizations, load‑factor tuning, and deletion compaction that together deliver significant memory and CPU savings.

Data StructuresHashMapIntObjectHashMap
0 likes · 20 min read
Why Netty’s IntObjectHashMap Beats HashMap: A Deep Dive into Performance and Design
Python Programming Learning Circle
Python Programming Learning Circle
Apr 7, 2022 · Fundamentals

Understanding Hash Tables and Implementing Them in Python

This article explains the concept of hashing and hash tables, describes their characteristics and collision‑resolution strategies, showcases practical Python implementations with load‑factor handling and resizing, and highlights common applications such as dictionaries and network session tables.

Data StructuresHash TablePython
0 likes · 13 min read
Understanding Hash Tables and Implementing Them in Python
ITPUB
ITPUB
Mar 31, 2022 · Databases

Understanding Redis: Core Data Types, Persistence, Replication, and Common Pitfalls

This comprehensive guide explores Redis fundamentals, including NoSQL concepts, its five primary data structures, internal storage mechanisms, persistence options, replication, sentinel failover, and strategies to prevent cache penetration, breakdown, and avalanche, providing developers with deep insights for building robust, high‑performance applications.

CacheData StructuresNoSQL
0 likes · 53 min read
Understanding Redis: Core Data Types, Persistence, Replication, and Common Pitfalls
Python Programming Learning Circle
Python Programming Learning Circle
Mar 17, 2022 · Fundamentals

Comprehensive Overview of Common Sorting Algorithms with Python Implementations

This article provides a detailed introduction to internal and external sorting, compares the time‑complexities and stability of classic algorithms such as bubble, selection, insertion, shell, merge, quick, heap, counting, bucket and radix sorts, and includes complete Python code examples for each.

Algorithm ComplexityData StructuresPython
0 likes · 20 min read
Comprehensive Overview of Common Sorting Algorithms with Python Implementations
Top Architect
Top Architect
Mar 11, 2022 · Databases

Understanding Redis Set and Sorted Set Internal Encodings: intset, hashtable, skiplist, and ziplist

This article explains how Redis stores Set and Sorted Set objects using dual internal representations—intset and hashtable for sets, skiplist and ziplist for sorted sets—detailing their structures, encoding selection criteria, upgrade processes, command usage, and the reasons behind combining dictionaries with skiplists for optimal performance.

BackendData StructuresRedis
0 likes · 15 min read
Understanding Redis Set and Sorted Set Internal Encodings: intset, hashtable, skiplist, and ziplist
IT Services Circle
IT Services Circle
Mar 9, 2022 · Fundamentals

A Curated Collection of Visualization Websites for Algorithms, Data Structures, MESI Protocol, and TCP Mechanisms

This article compiles a variety of online visualization tools—including algorithm and data‑structure animators, a MESI cache‑coherency simulator, and interactive TCP sliding‑window and flow‑control demos—to help learners intuitively understand core computer‑science concepts through animated models and hands‑on experimentation.

Data StructuresMESI ProtocolTCP
0 likes · 11 min read
A Curated Collection of Visualization Websites for Algorithms, Data Structures, MESI Protocol, and TCP Mechanisms
JD Tech
JD Tech
Mar 8, 2022 · Fundamentals

Fundamentals of Data Structures and Algorithms

This article provides a comprehensive overview of fundamental data structures and algorithms, covering basic concepts, complexity analysis, case studies, and detailed examinations of structures such as HashMap, Bloom filter, SkipList, AVL, Red‑Black, B+Tree, and HashTree, while discussing their advantages, disadvantages, and typical use cases.

AVL treeComplexityData Structures
0 likes · 23 min read
Fundamentals of Data Structures and Algorithms
dbaplus Community
dbaplus Community
Mar 6, 2022 · Backend Development

Why Is Redis So Fast? Unveiling Its Core Data Structures

This article explains how Redis achieves high performance by using specialized in‑memory data structures such as SDS, quicklist, listpack, hash tables, skip‑lists and integer sets, detailing their design, evolution across versions, memory‑efficiency tricks, and the trade‑offs that make Redis a lightning‑fast key‑value store.

Data StructuresHash TableListpack
0 likes · 43 min read
Why Is Redis So Fast? Unveiling Its Core Data Structures
Open Source Linux
Open Source Linux
Feb 28, 2022 · Fundamentals

Unlock Python’s 68 Built‑in Functions: A Complete Guide for Beginners

This article presents a comprehensive overview of Python’s 68 built‑in functions, categorizing them into numeric, data‑structure, scope, iterator, string execution, I/O, memory, file, module, and utility groups, and provides clear code examples for each to help beginners master Python fundamentals.

Data StructuresProgramming Fundamentalsbuilt-in functions
0 likes · 18 min read
Unlock Python’s 68 Built‑in Functions: A Complete Guide for Beginners
Java Architect Essentials
Java Architect Essentials
Feb 22, 2022 · Backend Development

Common Redis Use Cases and Implementation Patterns

This article presents a comprehensive collection of Redis use cases—including caching, distributed locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow relationships, and ranking—along with practical code snippets and command examples for backend developers.

Data StructuresRedis
0 likes · 9 min read
Common Redis Use Cases and Implementation Patterns
Efficient Ops
Efficient Ops
Feb 16, 2022 · Databases

Master Redis: Core Concepts, Commands, and Data Types Explained

Redis is an open‑source, in‑memory data‑structure store that serves as a database, cache, and message broker; this guide introduces its fundamentals, explains why NoSQL emerged, details its five primary data types, common commands, and advanced features like transactions and pipelines.

CacheData StructuresDatabase
0 likes · 15 min read
Master Redis: Core Concepts, Commands, and Data Types Explained
QQ Music Frontend Team
QQ Music Frontend Team
Feb 15, 2022 · Databases

Mastering Redis: From Fundamentals to Advanced Features and Real‑World Use Cases

This comprehensive guide walks you through Redis basics, its data structures, commands, installation steps, high‑concurrency principles, persistence mechanisms, replication, caching strategies, Lua scripting, pipelines, distributed locks, and cluster concepts, providing practical examples and best‑practice recommendations for developers and operators.

Data StructuresLuaPersistence
0 likes · 70 min read
Mastering Redis: From Fundamentals to Advanced Features and Real‑World Use Cases
Python Programming Learning Circle
Python Programming Learning Circle
Feb 14, 2022 · Fundamentals

Python List vs Set: Performance Comparison and Underlying Implementation Details

This article compares the lookup speed of Python lists and sets on large datasets, presents benchmark code and results, and explains why sets are dramatically faster by examining the internal C‑level implementations of list (dynamic array) and set/dict (hash table) including resizing rules and collision‑resolution strategies.

Data StructuresHash TablePython
0 likes · 13 min read
Python List vs Set: Performance Comparison and Underlying Implementation Details
MaGe Linux Operations
MaGe Linux Operations
Jan 29, 2022 · Fundamentals

Master Python’s Powerful Containers: Counter, defaultdict, OrderedDict, deque & ChainMap

This article introduces Python’s collections module as a versatile alternative to built‑in containers, detailing the purpose, key methods, and practical code examples for Counter, defaultdict, OrderedDict, namedtuple, deque, and ChainMap, helping developers choose the right specialized container for their tasks.

ChainMapCollectionsCounter
0 likes · 11 min read
Master Python’s Powerful Containers: Counter, defaultdict, OrderedDict, deque & ChainMap
IT Architects Alliance
IT Architects Alliance
Jan 28, 2022 · Databases

Why Is Redis So Fast? A Deep Dive into Its Data Structures and Architecture

This article explains why Redis achieves high query performance by leveraging in‑memory storage, specialized data structures such as SDS, linked lists, dictionaries, ziplists and skiplists, a single‑threaded event loop with I/O multiplexing, and various optimization techniques that avoid common bottlenecks.

Data StructuresI/O multiplexingIn-Memory Database
0 likes · 18 min read
Why Is Redis So Fast? A Deep Dive into Its Data Structures and Architecture
Code Ape Tech Column
Code Ape Tech Column
Jan 19, 2022 · Databases

Choosing Appropriate Redis Data Structures for Large‑Scale Statistics: Cardinality, Sorting, and Aggregation

This article explains how to select Redis data structures such as Bitmap, HyperLogLog, Set, List, Sorted Set, and Hash to efficiently handle massive statistical scenarios like user login status, UV counting, ranking, and set aggregation, while providing concrete command examples and best‑practice recommendations.

AggregationBitMapCardinality
0 likes · 11 min read
Choosing Appropriate Redis Data Structures for Large‑Scale Statistics: Cardinality, Sorting, and Aggregation
Top Architect
Top Architect
Dec 30, 2021 · Fundamentals

Understanding Bloom Filter, Counting Bloom Filter, and Cuckoo Filter: Principles, Issues, and Optimizations

This article explains the motivation behind using probabilistic filters to reduce I/O, describes how Bloom filters, Counting Bloom filters, and Cuckoo filters work, analyzes their false‑positive and deletion problems, and presents practical optimizations such as multiple hash functions and multi‑slot buckets.

Bloom filterCache OptimizationCounting Bloom Filter
0 likes · 12 min read
Understanding Bloom Filter, Counting Bloom Filter, and Cuckoo Filter: Principles, Issues, and Optimizations
IT Architects Alliance
IT Architects Alliance
Dec 15, 2021 · Databases

Comprehensive Redis Guide: Data Structures, Commands, Persistence, Performance Tuning, and Deployment Strategies

This article provides a thorough introduction to Redis, covering its core data structures and common commands, persistence options (RDB and AOF), memory‑management and eviction policies, pipelining, transactions and Lua scripting, performance optimization techniques, replication, Sentinel high‑availability, cluster sharding, and a comparison of popular Java clients.

ClusterData StructuresIn-Memory Database
0 likes · 40 min read
Comprehensive Redis Guide: Data Structures, Commands, Persistence, Performance Tuning, and Deployment Strategies
Java Tech Enthusiast
Java Tech Enthusiast
Dec 14, 2021 · Fundamentals

Analysis of Java HashMap put Method and Internal Mechanics

The article dissects Java’s HashMap put method, explaining how it computes a mixed hash, locates an index in a power‑of‑two table, inserts or replaces nodes in a linked‑list chain that may be converted to a red‑black tree, and triggers resizing when the load‑factor threshold is exceeded.

AlgorithmsCollectionsData Structures
0 likes · 13 min read
Analysis of Java HashMap put Method and Internal Mechanics
Python Programming Learning Circle
Python Programming Learning Circle
Dec 1, 2021 · Fundamentals

Introduction to NetworkX: Installation, Basic Usage, and Graph Operations in Python

This article introduces the Python NetworkX library, covering its installation via Anaconda, fundamental graph creation, node and edge manipulation, attribute handling, directed and multigraph features, built‑in generators, analysis functions, and visualization with Matplotlib, all illustrated with concrete code examples.

Data StructuresPythongraph theory
0 likes · 13 min read
Introduction to NetworkX: Installation, Basic Usage, and Graph Operations in Python
Architect
Architect
Nov 30, 2021 · Databases

Why Is Redis So Fast? Architecture, Data Structures, Persistence, Replication and Cluster

This article explains why Redis achieves extremely high performance by being an in‑memory key‑value store, using compact data structures, a single‑threaded command model with epoll‑based I/O multiplexing, efficient hash tables, progressive rehashing, various persistence options, master‑slave replication, Sentinel monitoring and a sharded Cluster architecture.

ClusterData StructuresIn-Memory Database
0 likes · 23 min read
Why Is Redis So Fast? Architecture, Data Structures, Persistence, Replication and Cluster
Top Architect
Top Architect
Oct 29, 2021 · Fundamentals

Understanding Bloom Filters, Counting Bloom Filters, and Cuckoo Filters

The article explains how Bloom filters, Counting Bloom filters, and Cuckoo filters work, their hash‑based bitmap mechanisms, advantages and limitations such as false positives and deletion issues, and presents practical improvements and hash functions for efficient cache and database query optimization.

Bloom filterCache OptimizationCuckoo Filter
0 likes · 12 min read
Understanding Bloom Filters, Counting Bloom Filters, and Cuckoo Filters
IT Architects Alliance
IT Architects Alliance
Oct 28, 2021 · Fundamentals

Understanding Bloom Filters, Counting Bloom Filters, and Cuckoo Filters

The article explains the principles, advantages, and limitations of Bloom filters, introduces Counting Bloom filters as an enhanced version, and then details Cuckoo filters and Cuckoo hashing, including their algorithms, performance trade‑offs, and practical improvements for reducing unnecessary I/O operations.

Bloom filterCache OptimizationCounting Bloom Filter
0 likes · 11 min read
Understanding Bloom Filters, Counting Bloom Filters, and Cuckoo Filters
Architect's Tech Stack
Architect's Tech Stack
Oct 17, 2021 · Fundamentals

Understanding Why HashMap Uses a Load Factor of 0.75 and How It Resolves Collisions

This article explains the purpose of HashMap's load factor, the trade‑offs between space utilization and collision probability, describes common collision‑resolution techniques such as open addressing, rehashing and chaining, and shows why the default load factor of 0.75 is chosen based on Poisson‑distribution analysis.

Data StructuresHashMapJava
0 likes · 12 min read
Understanding Why HashMap Uses a Load Factor of 0.75 and How It Resolves Collisions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 14, 2021 · Fundamentals

Introduction to Data Structures and Algorithms: Basics, Sorting, and Advanced Structures

This article introduces the fundamentals of data structures and algorithms, covering basic structures such as arrays and linked lists, common sorting algorithms, advanced structures like B+ trees and red‑black trees, explains Big O notation, and provides Java code examples for dynamic arrays, linked lists, queues, and stacks.

AlgorithmsArraysBig O
0 likes · 15 min read
Introduction to Data Structures and Algorithms: Basics, Sorting, and Advanced Structures
Byte Quality Assurance Team
Byte Quality Assurance Team
Oct 13, 2021 · Fundamentals

Understanding Python Object Assignment, Mutable vs. Immutable Types, and Shallow vs. Deep Copying

This article provides a comprehensive guide to Python's memory management and object assignment mechanisms, clearly explaining the differences between mutable and immutable objects, direct assignment, shallow copying, and deep copying through practical code examples and visual diagrams.

Data StructuresImmutable ObjectsPython Programming
0 likes · 7 min read
Understanding Python Object Assignment, Mutable vs. Immutable Types, and Shallow vs. Deep Copying
Programmer DD
Programmer DD
Oct 3, 2021 · Fundamentals

Master Algorithm Interviews: Key Topics and Efficient Study Strategies

This guide breaks down algorithm interview essentials into data‑structure fundamentals, complexity analysis, and core algorithmic thinking, highlighting the most frequent topics and offering a structured learning path plus a recommended book to help candidates prepare efficiently and boost their offer chances.

Complexity AnalysisData Structuresalgorithm interview
0 likes · 6 min read
Master Algorithm Interviews: Key Topics and Efficient Study Strategies
Programmer DD
Programmer DD
Oct 2, 2021 · Fundamentals

Master Algorithm Interviews: Core Topics & Proven Study Plan

This guide breaks down the essential data structures, complexity analysis, and algorithmic thinking needed for software engineering interviews, highlights the 80% of topics that dominate most tests, and recommends a systematic study roadmap and a comprehensive book to boost interview success.

Complexity AnalysisData StructuresLeetCode
0 likes · 6 min read
Master Algorithm Interviews: Core Topics & Proven Study Plan
Wukong Talks Architecture
Wukong Talks Architecture
Sep 30, 2021 · Backend Development

Understanding Bloom Filters for Preventing Cache Penetration

This article explains the cache‑penetration problem in high‑traffic systems, introduces Bloom filters as a space‑efficient solution, details their construction and usage with Java and Redis examples, and discusses ways to reduce false positives and handle deletions.

Bloom filterCache PenetrationData Structures
0 likes · 8 min read
Understanding Bloom Filters for Preventing Cache Penetration
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 29, 2021 · Databases

Redis Interview Questions and Core Concepts: Data Types, Performance, Persistence, High Availability, and Common Use Cases

This article provides a comprehensive overview of Redis, covering its definition, basic and special data structures, performance optimizations, expiration and eviction policies, common application scenarios, persistence mechanisms, high‑availability architectures, distributed lock implementations, transaction handling, and related algorithms such as Redlock and Bloom filters.

CacheData StructuresRedis
0 likes · 45 min read
Redis Interview Questions and Core Concepts: Data Types, Performance, Persistence, High Availability, and Common Use Cases
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 25, 2021 · Fundamentals

Overview of Java Collection Framework and Core Concepts

This article provides a comprehensive overview of Java collections, covering the definition, characteristics, differences from arrays, advantages, common collection classes, underlying data structures, fail‑fast mechanism, detailed List, Set, Queue, and Map interfaces, as well as HashMap and ConcurrentHashMap implementations and best practices.

CollectionsData StructuresHashMap
0 likes · 30 min read
Overview of Java Collection Framework and Core Concepts
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 22, 2021 · Databases

Common Redis Interview Questions and Answers

This article provides a comprehensive list of typical Redis interview questions covering its features, performance, data structures, supported data types, common use cases, eviction policies, persistence methods, clustering, high‑availability mechanisms, transaction handling, and comparisons with local caches like Guava and Caffeine.

CacheClusteringData Structures
0 likes · 15 min read
Common Redis Interview Questions and Answers
Programmer DD
Programmer DD
Sep 22, 2021 · Fundamentals

10 Classic Algorithms That Shaped Modern Computing – From Sorting to Encryption

This article explains what an algorithm is, outlines its three essential properties, and introduces ten foundational computer algorithms—including sorting methods, Fourier transforms, Dijkstra's shortest‑path, RSA encryption, hash functions, factorization, link analysis, PID control, data compression, and random‑number generation—highlighting their historical origins and real‑world impact.

AlgorithmsData StructuresEncryption
0 likes · 9 min read
10 Classic Algorithms That Shaped Modern Computing – From Sorting to Encryption
Python Programming Learning Circle
Python Programming Learning Circle
Sep 14, 2021 · Fundamentals

Python Code Snippets: Function Chaining, Default Argument Pitfalls, CSV I/O, List Operations, and More

This article presents a collection of Python programming examples covering function chaining, default‑argument traps, CSV file reading and writing, number‑base conversion, list flattening and merging, dictionary utilities, and common algorithmic patterns such as permutations and combinations.

AlgorithmsData StructuresPython
0 likes · 6 min read
Python Code Snippets: Function Chaining, Default Argument Pitfalls, CSV I/O, List Operations, and More
Su San Talks Tech
Su San Talks Tech
Aug 24, 2021 · Fundamentals

Master the Top 10 Sorting Algorithms in Java: From Bubble to Radix

This comprehensive guide walks Java programmers through the ten classic sorting algorithms—bubble, quick, insertion, shell, selection, heap, merge, bucket, counting, and radix—detailing their principles, stability, time and space complexities, and providing clear Java implementations for each.

ComplexityData StructuresSorting Algorithms
0 likes · 21 min read
Master the Top 10 Sorting Algorithms in Java: From Bubble to Radix
Top Architect
Top Architect
Aug 21, 2021 · Fundamentals

Comprehensive Guide to Java Collections Framework: Lists, Sets, Queues, Maps and Their Implementations

This article provides an in-depth overview of Java's Collections Framework, detailing the structure, usage, and source code of core interfaces like List, Set, Queue, and Map, and their key implementations such as ArrayList, LinkedList, HashSet, TreeSet, PriorityQueue, ArrayDeque, HashMap, and Hashtable, while highlighting performance characteristics and thread-safety considerations.

CollectionsData StructuresJava
0 likes · 39 min read
Comprehensive Guide to Java Collections Framework: Lists, Sets, Queues, Maps and Their Implementations
Wukong Talks Architecture
Wukong Talks Architecture
Jul 21, 2021 · Fundamentals

Understanding Redis Simple Dynamic Strings (SDS): Structure, Benefits, and Memory Management

This article explains the Redis Simple Dynamic String (SDS) data structure, comparing it with traditional C strings, detailing its struct layout, O(1) length retrieval, pre‑allocation strategy, lazy space release, and provides code examples illustrating how SDS avoids buffer overflows and improves performance.

C stringsData StructuresMemory Management
0 likes · 11 min read
Understanding Redis Simple Dynamic Strings (SDS): Structure, Benefits, and Memory Management
Programmer DD
Programmer DD
Jul 19, 2021 · Backend Development

How Redis Ziplist Compresses Memory and When to Use It

This article explains Redis's ziplist compressed list structure, its internal fields, lookup algorithm, performance characteristics, configuration thresholds for Hash and List types, and demonstrates a real‑world use case with memory‑saving calculations and experimental results.

Data StructuresMemory CompressionRedis
0 likes · 11 min read
How Redis Ziplist Compresses Memory and When to Use It
Selected Java Interview Questions
Selected Java Interview Questions
Jul 5, 2021 · Fundamentals

Heap Sort: Theory, Steps, and Java Implementation

This article explains heap sort's time and space complexities, introduces max‑heap and min‑heap concepts, details the algorithmic steps for building and maintaining the heap, and provides a complete Java implementation with accompanying code examples.

ComplexityData StructuresJava
0 likes · 8 min read
Heap Sort: Theory, Steps, and Java Implementation
Sohu Tech Products
Sohu Tech Products
Jun 23, 2021 · Backend Development

Using Redis Data Structures for Efficient Large‑Scale Statistics: Cardinality, Sorting, and Aggregation

The article explains how to choose appropriate Redis data structures—such as Bitmap, HyperLogLog, Set, List, Hash, and Sorted Set—to efficiently handle massive statistical scenarios like UV counting, ranking, and set‑based aggregation, while providing concrete command examples and performance considerations.

Data StructuresHyperLogLogRedis
0 likes · 13 min read
Using Redis Data Structures for Efficient Large‑Scale Statistics: Cardinality, Sorting, and Aggregation
政采云技术
政采云技术
Jun 22, 2021 · Frontend Development

Understanding Immutable Data Structures and Their Use in React and Redux

This article explains what immutable data structures are, outlines their advantages such as reduced complexity, memory savings, easy state rollback, and functional programming benefits, and demonstrates practical usage of Immutable.js in React components and Redux integration with code examples and best‑practice tips.

Data StructuresImmutableReAct
0 likes · 14 min read
Understanding Immutable Data Structures and Their Use in React and Redux
php Courses
php Courses
Jun 15, 2021 · Fundamentals

Comprehensive Technical Exam with Multiple‑Choice, Short Answer, and Programming Questions

The article provides a full‑length technical exam covering multiple‑choice questions on programming history, algorithms, networking and 5G, short answer queries about design patterns and tree operations, and coding challenges that ask participants to implement solutions for counting ways to eat bread, climb stairs, and analyze a C program that counts cycles in a permutation.

AlgorithmsData StructuresNetworking
0 likes · 6 min read
Comprehensive Technical Exam with Multiple‑Choice, Short Answer, and Programming Questions
FunTester
FunTester
Jun 11, 2021 · Fundamentals

Personal Reflections on Algorithms, Data Structures, and Complexity

This article shares the author’s personal insights on a book about algorithms, data structures, and complexity, explaining core concepts such as algorithm definition, common data structures, time and space complexity, and offering intuitive examples to aid understanding.

AlgorithmsComplexityData Structures
0 likes · 12 min read
Personal Reflections on Algorithms, Data Structures, and Complexity
IT Architects Alliance
IT Architects Alliance
May 31, 2021 · Backend Development

Inside Nginx: Master/Worker Model, Async I/O, and Core Data Structures Explained

This article explains how Nginx runs as a daemon with a master process and multiple worker processes, why it prefers a multi‑process asynchronous non‑blocking architecture over threads, and details the key internal data structures such as connections, requests, arrays, queues, lists, strings, memory pools, hash tables, and red‑black trees that enable its high‑performance HTTP handling.

AsynchronousBackendData Structures
0 likes · 18 min read
Inside Nginx: Master/Worker Model, Async I/O, and Core Data Structures Explained
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 24, 2021 · Fundamentals

Master Data Structures & Algorithms: Comprehensive Guide with Visual Tools

This article provides a comprehensive overview of data structures and algorithms, covering fundamental concepts such as data, elements, objects, logical and storage structures, common structures like lists, stacks, queues, trees, graphs, algorithm design techniques, complexity analysis, and includes visual resources and code examples.

AlgorithmsComplexityData Structures
0 likes · 33 min read
Master Data Structures & Algorithms: Comprehensive Guide with Visual Tools
Programmer DD
Programmer DD
May 24, 2021 · Fundamentals

Master Red‑Black Trees: From 2‑3‑4 Trees to Practical Implementation

This article walks through the fundamentals of red‑black trees, explains their equivalence to 2‑3‑4 trees, details insertion and deletion rules, compares their performance to plain binary search trees, and shares practical debugging tips for implementing a balanced tree in code.

2-3-4 TreeData StructuresImplementation
0 likes · 12 min read
Master Red‑Black Trees: From 2‑3‑4 Trees to Practical Implementation
Python Crawling & Data Mining
Python Crawling & Data Mining
May 22, 2021 · Fundamentals

Master Python Lists: From Basics to Advanced Operations

This tutorial walks you through Python list syntax, common operations such as adding, modifying, searching, deleting, sorting, and nesting, complete with code examples and output screenshots, helping beginners and intermediate programmers deepen their understanding of list handling.

CodingData Structureslist
0 likes · 8 min read
Master Python Lists: From Basics to Advanced Operations
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 14, 2021 · Fundamentals

Master Hash Tables, Heaps, and Graph Algorithms: From Basics to Dijkstra

This article introduces core data structures—hash tables, heaps, and graphs—explains their definitions, visual representations, and key operations, then delves into fundamental graph algorithms such as BFS, Dijkstra, Floyd, minimum spanning trees, and topological sorting, illustrating each with examples and code.

Data StructuresDijkstraGraph Algorithms
0 likes · 16 min read
Master Hash Tables, Heaps, and Graph Algorithms: From Basics to Dijkstra
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 14, 2021 · Fundamentals

Mastering Algorithms: Definitions, Design Principles, and Complexity Explained

This article provides a comprehensive overview of algorithms, covering their definition, five essential characteristics, design principles, time and space complexity analysis, common complexity classes, and a variety of algorithmic strategies such as recursion, greedy, divide‑and‑conquer, and dynamic programming.

AlgorithmsBig OComplexity
0 likes · 25 min read
Mastering Algorithms: Definitions, Design Principles, and Complexity Explained
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 13, 2021 · Fundamentals

Mastering Data Structures: From Basics to Advanced Implementations

This comprehensive guide explains core data concepts, defines data, data objects, elements and types, explores logical and physical structures, details sequential, linked, indexed and hash storage, and provides Java code examples for arrays, linked lists, stacks, queues, trees, binary search trees, AVL and red‑black trees, illustrating how to choose and implement appropriate structures for real‑world problems.

AlgorithmsData StructuresJava
0 likes · 24 min read
Mastering Data Structures: From Basics to Advanced Implementations
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 13, 2021 · Fundamentals

Understanding Trees, Binary Trees, AVL Trees, and Red-Black Trees: Concepts, Properties, and Operations

This article explains the fundamentals of tree data structures—including general trees, binary trees, AVL balanced trees, and red‑black trees—covering their definitions, node types, properties, rotation techniques, and insertion and deletion algorithms with illustrative code examples.

AlgorithmsData Structuresbinary tree
0 likes · 17 min read
Understanding Trees, Binary Trees, AVL Trees, and Red-Black Trees: Concepts, Properties, and Operations
Python Programming Learning Circle
Python Programming Learning Circle
Apr 29, 2021 · Fundamentals

Python Basics: Variables, Control Flow, Data Structures, and Object‑Oriented Programming

This tutorial introduces Python fundamentals, covering why to learn the language, variable assignment, conditional statements, loops, lists, dictionaries, iteration techniques, and core object‑oriented concepts such as classes, getters/setters, encapsulation, and inheritance, all illustrated with clear code examples.

Control FlowData StructuresOOP
0 likes · 20 min read
Python Basics: Variables, Control Flow, Data Structures, and Object‑Oriented Programming
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 27, 2021 · Databases

Why Redis Is Fast: Core Principles and Internal Data Structures

This article explains why Redis achieves extremely high performance by leveraging pure in‑memory operations, a global O(1) hash table, efficient data structures such as SDS, ziplist, quicklist and skiplist, a single‑threaded event loop with non‑blocking I/O multiplexing, and adaptive encoding strategies.

Data StructuresIn-Memoryio-multiplexing
0 likes · 20 min read
Why Redis Is Fast: Core Principles and Internal Data Structures
Open Source Tech Hub
Open Source Tech Hub
Apr 22, 2021 · Databases

Why MySQL Indexes Use B‑Tree, Not Hash: Understanding Index Data Structures

The article explains how MySQL indexes rely on ordered data structures—binary trees, red‑black trees, hash tables, and especially B‑Trees—to accelerate queries, compares their performance characteristics, illustrates how tree height affects I/O operations, and shows why B‑Tree is preferred for range searches.

B+TreeData StructuresIndex
0 likes · 5 min read
Why MySQL Indexes Use B‑Tree, Not Hash: Understanding Index Data Structures
Tencent Cloud Developer
Tencent Cloud Developer
Apr 20, 2021 · Databases

Advanced Guide to Redis: Data Structures, Usage, Internals, Performance Issues, and Security

This comprehensive Redis guide explains core data structures like strings, lists, sets, hashes and sorted sets, explores advanced features such as Bloom filters, distributed locks and clustering, details internal mechanisms, performance bottlenecks, and provides essential security best practices for safe, high‑performance deployment.

Data Structuresperformancesecurity
0 likes · 13 min read
Advanced Guide to Redis: Data Structures, Usage, Internals, Performance Issues, and Security
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 2, 2021 · Fundamentals

Master Java Collections: From ArrayList to ConcurrentHashMap Explained

This article provides a comprehensive overview of Java's collection framework, detailing the roles of interfaces, implementations, and algorithms, comparing collections with arrays, describing common List, Set, and Map classes, their underlying data structures, thread‑safety characteristics, and best practices for iteration and usage.

CollectionsConcurrentHashMapData Structures
0 likes · 48 min read
Master Java Collections: From ArrayList to ConcurrentHashMap Explained
Sohu Tech Products
Sohu Tech Products
Mar 31, 2021 · Databases

Why Redis Is Fast: Core Principles, Data Structures, and Architecture

This article explains why Redis achieves exceptionally high performance by combining pure in‑memory operations, a global hash table with O(1) lookups, efficient data structures such as SDS, ziplist, quicklist and skiplist, a single‑threaded event loop with non‑blocking I/O multiplexing, and adaptive encoding strategies.

Data StructuresHash TableIO Multiplexing
0 likes · 20 min read
Why Redis Is Fast: Core Principles, Data Structures, and Architecture