Tagged articles
77 articles
Page 1 of 1
Lisa Notes
Lisa Notes
Apr 23, 2026 · Fundamentals

Python Basics: Dictionaries – Access, Iterate, Merge, and Set Operations

This tutorial walks through essential Python data structures, showing how to retrieve a dictionary's length, keys, values, and items, iterate using four different patterns, merge dictionaries with update, and then introduces sets—covering creation, properties, and common operations such as add, update, pop, remove, discard, clear, and iteration—with concrete code examples and their outputs.

Data StructuresPythonSet
0 likes · 6 min read
Python Basics: Dictionaries – Access, Iterate, Merge, and Set Operations
Coder Trainee
Coder Trainee
Feb 13, 2026 · Databases

Understanding Redis Commands and Its Five Data Types

This article explains how to access the Redis CLI on Linux, connect to remote servers, and provides detailed examples of common commands for each of Redis's five data types—String, List, Set, Sorted Set, and Hash—highlighting key syntax and usage patterns.

Data TypesHashList
0 likes · 4 min read
Understanding Redis Commands and Its Five Data Types
AndroidPub
AndroidPub
Jun 13, 2025 · Fundamentals

Simplify Kotlin Collections Creation with buildList, buildSet, and buildMap

This article explains how Kotlin's standard library provides concise builder functions such as buildList, buildSet, buildMap, and buildString to create immutable collections and strings efficiently, reducing boilerplate and eliminating lambda overhead while offering specialized variants for primitive types.

CollectionsKotlinList
0 likes · 7 min read
Simplify Kotlin Collections Creation with buildList, buildSet, and buildMap
Top Architecture Tech Stack
Top Architecture Tech Stack
May 14, 2025 · Backend Development

Injecting List, Array, Set, and Map from Spring Configuration Files Using @Value and EL Expressions

This article explains how to store and inject collection types such as List, array, Set, and Map in Spring configuration files, demonstrates the pitfalls of using @Value directly, and provides practical solutions using @ConfigurationProperties, EL split functions, and custom decoders for flexible and safe property binding.

BackendEL expressionJava
0 likes · 7 min read
Injecting List, Array, Set, and Map from Spring Configuration Files Using @Value and EL Expressions
JavaScript
JavaScript
Apr 15, 2025 · Frontend Development

Why Set Beats Traditional Array Deduplication in JavaScript

This article explains how using ES6 Set for array deduplication in JavaScript yields dramatically shorter code and up to 300× faster performance compared to traditional indexOf or filter methods, backed by benchmark results and best‑practice patterns combining Set with Array methods.

Array DeduplicationJavaScriptSet
0 likes · 6 min read
Why Set Beats Traditional Array Deduplication in JavaScript
php Courses
php Courses
Mar 25, 2025 · Fundamentals

Common Python Data Structures: List, Tuple, Set, and Dictionary

This article introduces Python's four fundamental data structures—list, tuple, set, and dictionary—explaining their characteristics, creation syntax, and typical operations to help readers choose the appropriate structure for different programming scenarios.

Data StructuresListSet
0 likes · 8 min read
Common Python Data Structures: List, Tuple, Set, and Dictionary
Test Development Learning Exchange
Test Development Learning Exchange
Feb 28, 2025 · Fundamentals

Understanding Python Sets: Definition, Operations, and Practical Examples

This article introduces Python's set data structure, explains its unordered, unique, and mutable characteristics, demonstrates how to create sets, and provides eleven practical code examples covering basic definitions, element addition and removal, set operations like union, intersection, difference, subset checks, deduplication, iteration, and conditional filtering.

Data StructuresPythonSet
0 likes · 7 min read
Understanding Python Sets: Definition, Operations, and Practical Examples
JavaScript
JavaScript
Jan 13, 2025 · Frontend Development

Boost Your JavaScript Productivity with 6 Powerful Tricks

This article presents six practical JavaScript techniques—including advanced object destructuring, functional array methods, async/await patterns, optional chaining, Set/Map usage, and sophisticated template literals—each illustrated with clear code examples to dramatically improve development efficiency.

JavaScriptSetasync/await
0 likes · 5 min read
Boost Your JavaScript Productivity with 6 Powerful Tricks
Taobao Frontend Technology
Taobao Frontend Technology
Nov 4, 2024 · Frontend Development

What New ECMAScript Proposals Will Shape JavaScript in 2023?

This article reviews the latest Stage 4 ECMAScript proposals—including ArrayBuffer transfer, iterator helpers, RegExp modifiers, import attributes, Promise.try, duplicate named capture groups, and Set methods—explaining their purpose, syntax, and example usage for modern JavaScript development.

ArrayBufferECMAScriptIterator
0 likes · 13 min read
What New ECMAScript Proposals Will Shape JavaScript in 2023?
Go Programming World
Go Programming World
Jun 4, 2024 · Backend Development

Understanding and Using Empty Structs (struct{}) in Go

This article explains the zero‑size nature of Go's empty struct, demonstrates how its memory address behaves, shows its impact on struct alignment, and presents multiple practical patterns such as set implementation, large arrays, signal channels, no‑op methods, interface stubs, and the noCopy identifier.

ChannelInterfaceMemory
0 likes · 17 min read
Understanding and Using Empty Structs (struct{}) in Go
Test Development Learning Exchange
Test Development Learning Exchange
Apr 30, 2024 · Fundamentals

Understanding Python Comprehensions: Lists, Dictionaries, Sets, and Generators with Examples

Python comprehensions provide a concise, powerful way to create new data structures—lists, dictionaries, sets, and generators—from existing iterables, combining loops and conditional logic, and the article explains their syntax, usage, and includes practical code examples for dynamic parameter construction, data analysis, and testing scenarios.

ComprehensionsPythonSet
0 likes · 7 min read
Understanding Python Comprehensions: Lists, Dictionaries, Sets, and Generators with Examples
Senior Tony
Senior Tony
Dec 25, 2023 · Databases

Mastering Redis ZSet: Real‑Time Ranking, Set vs List, and Underlying Implementations

This article walks through a real‑world sales‑ranking scenario, explains why a simple SQL solution falls short at scale, and demonstrates how Redis Set and ZSet data structures provide high‑performance, real‑time ranking, including detailed command examples, performance metrics, and an in‑depth look at ZSet's internal listpack and skiplist‑dict implementations.

Data StructuresSetSorted Set
0 likes · 11 min read
Mastering Redis ZSet: Real‑Time Ranking, Set vs List, and Underlying Implementations
Architecture & Thinking
Architecture & Thinking
Nov 13, 2023 · Fundamentals

Mastering Java Collections: From Interfaces to Iterators

This comprehensive guide explains Java's collection framework, covering the core interfaces Collection, List, Set, and Map, their abstract and concrete implementations, iterator mechanisms, and key differences that are essential for both interview preparation and real‑world backend development.

BackendCollectionsIterator
0 likes · 29 min read
Mastering Java Collections: From Interfaces to Iterators
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 5, 2023 · Frontend Development

Practical JavaScript Techniques: Maps, Sets, Array.from, Destructuring, API Integration, and Tree Conversion

This article shares practical JavaScript snippets for managing dictionaries with Map, deduplicating arrays using Set, constructing data with Array.from, applying destructuring patterns, merging API modules in Vue projects, and converting flat data into tree structures, providing clear examples and reusable code.

Array.fromDestructuringJavaScript
0 likes · 7 min read
Practical JavaScript Techniques: Maps, Sets, Array.from, Destructuring, API Integration, and Tree Conversion
ITPUB
ITPUB
Aug 27, 2023 · Databases

How to Use Redis Sets for Powerful Intersection, Union, and Difference Statistics

This article explains how to leverage Redis Set, Sorted Set, Bitmap, and HyperLogLog data structures for various statistical scenarios such as user sign‑in tracking, friend recommendations, comment ranking, and UV counting, while addressing performance and memory considerations.

BitmapDifferenceHyperLogLog
0 likes · 11 min read
How to Use Redis Sets for Powerful Intersection, Union, and Difference Statistics
dbaplus Community
dbaplus Community
Aug 17, 2023 · Databases

Mastering Redis Set Operations for Scalable Statistics and Aggregations

This article explains how to leverage Redis data structures such as Set, Sorted Set, Bitmap, and HyperLogLog to perform aggregation, sorted, binary‑state, and cardinality statistics efficiently in large‑scale applications, while addressing performance considerations and practical implementation details.

BackendHyperLogLogSet
0 likes · 10 min read
Mastering Redis Set Operations for Scalable Statistics and Aggregations
Su San Talks Tech
Su San Talks Tech
Jun 29, 2023 · Backend Development

Master Redis Set Operations for Scalable Statistics and Analytics

This article explains how to use Redis sets, sorted sets, lists, bitmaps, and HyperLogLog to perform aggregation, ordered queries, binary state tracking, and cardinality estimation for large‑scale applications such as sign‑in systems, e‑commerce comments, and social‑network friend lists.

BackendBitmapHyperLogLog
0 likes · 10 min read
Master Redis Set Operations for Scalable Statistics and Analytics
Architecture Digest
Architecture Digest
May 23, 2023 · Databases

Redis Data Types: Overview, Use Cases, and Internal Implementations

This article provides a comprehensive English guide to Redis’s ten core data types—including strings, hashes, lists, sets, sorted sets, streams, hyperloglog, bitmap, and bitfield—detailing their definitions, typical application scenarios, underlying storage mechanisms, conversion rules, and sample Redis commands with code examples.

Data TypesListSet
0 likes · 31 min read
Redis Data Types: Overview, Use Cases, and Internal Implementations
NiuNiu MaTe
NiuNiu MaTe
Apr 11, 2023 · Databases

Mastering Redis Sets: From Basics to Advanced Operations

This article introduces Redis Sets as unordered unique string collections, explains their ideal use cases, and provides detailed walkthroughs of creation, query, update, and deletion commands—including SADD, SREM, SISMEMBER, SCARD, SMEMBERS, SSCAN, SINTER, SUNION, and SDIFF—along with underlying encoding mechanisms.

Data StructuresSetcommands
0 likes · 8 min read
Mastering Redis Sets: From Basics to Advanced Operations
Java Architect Essentials
Java Architect Essentials
Sep 23, 2022 · Databases

Redis Set and Sorted Set Internal Encodings: intset, Hashtable, Skiplist and Ziplist

This article explains why Redis stores set and sorted‑set objects using two different internal encodings, describes the intset and hashtable representations for sets, the skiplist and ziplist representations for sorted sets, shows the upgrade process with code examples, and lists the common commands for manipulating these data structures.

Data StructuresSetSorted Set
0 likes · 16 min read
Redis Set and Sorted Set Internal Encodings: intset, Hashtable, Skiplist and Ziplist
FunTester
FunTester
Sep 21, 2022 · Backend Development

Mastering Go Redis Set Operations: API Guide and Performance Benchmark

This article provides a comprehensive guide to implementing and testing Go Redis Set APIs—including SAdd, SCard, SIsMember, SMembers, SRem, SPop, and SPopN—complete with code examples, a unified test suite, and a performance benchmark that reports QPS and execution time.

APIBackendGo
0 likes · 8 min read
Mastering Go Redis Set Operations: API Guide and Performance Benchmark
Python Programming Learning Circle
Python Programming Learning Circle
Jul 20, 2022 · Fundamentals

Understanding Python's Composite Data Types: Tuple, List, Set, and Dictionary

This article explains Python's four main composite data types—tuple, list, set, and dictionary—detailing their characteristics, typical operations, performance considerations, and appropriate usage scenarios, while providing code examples and practical guidance for selecting the right structure in different programming contexts.

Data StructuresPythonSet
0 likes · 7 min read
Understanding Python's Composite Data Types: Tuple, List, Set, and Dictionary
Python Programming Learning Circle
Python Programming Learning Circle
Mar 3, 2022 · Fundamentals

Advanced Python Dictionary and Set Techniques

This article introduces several high‑level Python dictionary and set methods—including fromkeys, merge, setdefault, defaultdict, OrderedDict, as well as set comprehensions and custom hashing—to simplify code, improve readability, and demonstrate practical usage patterns with clear examples.

AdvancedOrderedDictSet
0 likes · 11 min read
Advanced Python Dictionary and Set Techniques
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 StructuresListPython
0 likes · 13 min read
Python List vs Set: Performance Comparison and Underlying Implementation Details
Python Programming Learning Circle
Python Programming Learning Circle
Apr 17, 2021 · Fundamentals

Python Comprehensions: List, Tuple, Dictionary, and Set

This article explains Python's comprehension syntax for lists, tuples, dictionaries, and sets, detailing their structures, execution order, and practical examples—including filtering, nested loops, and conditional logic—while showing how to convert generator objects and highlighting common use cases.

ListPythonSet
0 likes · 11 min read
Python Comprehensions: List, Tuple, Dictionary, and Set
Practical DevOps Architecture
Practical DevOps Architecture
Mar 11, 2021 · Fundamentals

Python Dictionary and Set Basics

This article introduces Python's built‑in dictionary and set types, explaining their characteristics, common operations, and providing example code to demonstrate creation, element access, and membership testing, while also highlighting key differences such as mutability of values and the use of hashable elements as keys.

Data StructuresPythonSet
0 likes · 5 min read
Python Dictionary and Set Basics
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 20, 2021 · Fundamentals

Unlock Python’s Speed: Master dict and set for Fast Data Lookup

This article explains Python’s built-in dict and set structures, comparing them with lists, demonstrating their fast key-value lookups, handling missing keys, and common operations like insertion, deletion, and set algebra, while providing clear code examples and practical tips for effective use.

Data StructuresImmutable ObjectsPython
0 likes · 9 min read
Unlock Python’s Speed: Master dict and set for Fast Data Lookup
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 13, 2020 · Backend Development

URL Deduplication Techniques in Java, Redis, and Databases

This article reviews six practical URL deduplication methods—including Java Set, Redis Set, database queries, unique indexes, Guava Bloom filter, and Redis Bloom filter—explaining their principles, providing complete implementation code, and recommending the most suitable approach for different system scales.

JavaSetbloom-filter
0 likes · 13 min read
URL Deduplication Techniques in Java, Redis, and Databases
macrozheng
macrozheng
Jul 17, 2020 · Fundamentals

Master Java Collections: From Lists to Queues and Sets Explained

This article provides a comprehensive overview of Java's collection framework, detailing the core interfaces Collection and Map, their CRUD operations, and the characteristics, APIs, and performance trade‑offs of List, Set, Queue, Deque, Vector, and related implementations.

CollectionsJavaList
0 likes · 14 min read
Master Java Collections: From Lists to Queues and Sets Explained
Programmer DD
Programmer DD
May 14, 2020 · Backend Development

How Does Java’s HashSet Ensure No Duplicate Elements?

This article explains how Java's HashSet implementation guarantees element uniqueness by internally using a HashMap, detailing its constructors, internal fields, the add method, and the underlying HashMap put and putVal logic that handles collisions and duplicate detection.

CollectionsDuplicateHashMap
0 likes · 6 min read
How Does Java’s HashSet Ensure No Duplicate Elements?
Java Captain
Java Captain
Apr 29, 2020 · Fundamentals

Comprehensive Overview of the Java Collection Framework: Interfaces, Implementations, and Usage

This article provides a detailed introduction to Java's collection framework, covering the core interfaces (Collection and Map), concrete implementations such as List, Set, and Map, iterator mechanisms, differences among classes like ArrayList, LinkedList, HashSet, TreeSet, and practical code examples illustrating their behavior.

CollectionsFrameworkIterator
0 likes · 33 min read
Comprehensive Overview of the Java Collection Framework: Interfaces, Implementations, and Usage
Python Programming Learning Circle
Python Programming Learning Circle
Apr 7, 2020 · Fundamentals

Python Set Tutorial – Creation, Operations, and Usage

This article introduces Python's set data type, explains how to create empty and non‑empty sets, demonstrates common operations such as add, update, remove, discard, pop, clear, iteration, set algebra operators, and describes the immutable frozenset, all illustrated with code examples.

CollectionsSetSet Operations
0 likes · 9 min read
Python Set Tutorial – Creation, Operations, and Usage
ITPUB
ITPUB
May 27, 2019 · Databases

Mastering Redis Data Types: Practical Tips and Real-World Use Cases

This article introduces Redis as an open‑source in‑memory store, outlines its core data structures—strings, hashes, lists, sets, sorted sets, bitmaps, hyperloglogs, and geospatial indexes—and provides concrete command examples, application scenarios, and best‑practice guidelines for effective usage.

CacheData StructuresHash
0 likes · 7 min read
Mastering Redis Data Types: Practical Tips and Real-World Use Cases
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 16, 2018 · Fundamentals

Overview of the Java Collections Framework and Its Core Data Structures

This article provides a comprehensive overview of the Java Collections Framework, detailing its core interfaces, common implementations such as List, Set, Queue, and Map, their underlying data structures, performance characteristics, and usage examples including legacy classes and specialized collections like PriorityQueue and LinkedHashMap.

ArrayListCollectionsData Structures
0 likes · 8 min read
Overview of the Java Collections Framework and Its Core Data Structures
Architecture Digest
Architecture Digest
Mar 18, 2018 · Operations

The Evolution of Tencent’s Network Infrastructure from 2004 to the Present

This article chronicles Tencent’s network infrastructure development over the past two decades, detailing early IDC setups, major outages, rapid expansion during the gaming boom, the introduction of SET architecture, large‑scale data centers, SDN and DCI implementations, and ongoing challenges as the company embraces mobile and cloud services.

Data centerSDNSet
0 likes · 16 min read
The Evolution of Tencent’s Network Infrastructure from 2004 to the Present
Java Captain
Java Captain
Jul 11, 2017 · Fundamentals

Understanding Java Collection Framework: Interfaces, Implementations, and Usage

This article provides a comprehensive overview of Java's collection framework, covering the core Collection interface, List, Set, and Map interfaces, their common implementations such as ArrayList, LinkedList, Vector, Stack, Hashtable, and HashMap, and demonstrates traversal using the Iterator pattern with code examples.

Data StructuresIteratorList
0 likes · 12 min read
Understanding Java Collection Framework: Interfaces, Implementations, and Usage
Java Backend Technology
Java Backend Technology
Nov 1, 2016 · Fundamentals

Which Java Method Is Fastest to Check If an Array Contains a Value?

This article compares several Java techniques—using List, Set, a simple loop, Arrays.binarySearch, and Apache Commons ArrayUtils—to determine whether an unordered array contains a specific value, analyzes their time complexities, and presents benchmark results for arrays of different sizes.

/loopArrayCONTAINS
0 likes · 6 min read
Which Java Method Is Fastest to Check If an Array Contains a Value?
ITPUB
ITPUB
Nov 12, 2015 · Fundamentals

Essential Differences and Usage Tips for Java Collections

This article explains why Map does not extend Collection, compares HashMap with Hashtable, clarifies Comparable versus Comparator, shows how to sort object lists, distinguishes fail‑fast from fail‑safe iterators, and outlines key differences among Set, List, ArrayList, Vector, and related Java collection classes.

ArrayListCollectionsHashMap
0 likes · 7 min read
Essential Differences and Usage Tips for Java Collections