Tagged articles
630 articles
Page 2 of 7
php Courses
php Courses
Sep 26, 2024 · Backend Development

Using PHP’s array_values() Function to Reindex and Convert Arrays

This article explains PHP's array_values() function, demonstrating how it returns a new array with reindexed numeric keys for both indexed and associative arrays, and highlights that the returned array is a copy, not a reference, with practical code examples.

ArrayBackendData Structures
0 likes · 4 min read
Using PHP’s array_values() Function to Reindex and Convert Arrays
Liangxu Linux
Liangxu Linux
Sep 21, 2024 · Fundamentals

Essential C Utility Code Snippets Every Embedded Developer Should Know

This article presents a curated collection of high‑impact C utility code examples—including a circular buffer, assertion macro, bit‑reversal function, fixed‑point arithmetic, endianness conversion, bit masks, timer handling, binary search, and a simple bitset—explaining their purpose and showing ready‑to‑use implementations for embedded systems.

CCode SamplesData Structures
0 likes · 7 min read
Essential C Utility Code Snippets Every Embedded Developer Should Know
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 17, 2024 · Backend Development

In‑Depth Explanation of Java ConcurrentHashMap Core Principles and Source Code

This article provides a comprehensive analysis of Java's ConcurrentHashMap, covering its underlying data structures, key attributes, core components such as Node, ForwardingNode, TreeBin, and TreeNode, and detailed explanations of the put, get, hash, and resizing algorithms with annotated source code examples.

ConcurrentHashMapData StructuresHashMap
0 likes · 17 min read
In‑Depth Explanation of Java ConcurrentHashMap Core Principles and Source Code
Test Development Learning Exchange
Test Development Learning Exchange
Sep 10, 2024 · Fundamentals

Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries

This article introduces core Python concepts—including dictionaries and sets as key‑value and unique collections, file and directory manipulation with the os module, regular expression handling, logging setup, unit testing with unittest, performance profiling via cProfile, and using popular third‑party libraries such as requests and BeautifulSoup.

Data StructuresFile OperationsPython
0 likes · 7 min read
Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries
Python Programming Learning Circle
Python Programming Learning Circle
Sep 9, 2024 · Fundamentals

Classification and Implementation of Common Sorting Algorithms in Python

This article classifies sorting algorithms into internal, external, comparison, and non‑comparison types, discusses stability and time‑complexity, and provides clear Python implementations with examples for Bubble Sort, Selection Sort, Insertion Sort, Shell Sort, Merge Sort, Quick Sort, Heap Sort, Counting Sort, Bucket Sort, and Radix Sort.

Data StructuresPythonSorting Algorithms
0 likes · 44 min read
Classification and Implementation of Common Sorting Algorithms in Python
Selected Java Interview Questions
Selected Java Interview Questions
Aug 30, 2024 · Databases

Redis Mastery: Deep Dive into Architecture, Data Structures, Persistence, Replication, and Sentinel

This article introduces the Redis in‑memory database, highlights the new "Redis Mastery" book that blends theory with practical examples, and explains core concepts such as SDS string structures, RDB/AOF persistence, master‑slave replication, and Sentinel high‑availability mechanisms.

Backend DevelopmentData StructuresIn-Memory Database
0 likes · 11 min read
Redis Mastery: Deep Dive into Architecture, Data Structures, Persistence, Replication, and Sentinel
vivo Internet Technology
vivo Internet Technology
Aug 28, 2024 · Backend Development

Time Wheel Algorithm: Evolution, Implementation, and Applications

The article chronicles the time wheel algorithm from its 1997 origins, explains simple, round‑based, and hierarchical wheel designs, compares them to queue timers, details Dubbo’s HashedWheelTimer implementation, and shows how combining the wheel with a delay‑message queue can dramatically improve service scalability and efficiency.

Backend DevelopmentData StructuresDubbo
0 likes · 20 min read
Time Wheel Algorithm: Evolution, Implementation, and Applications
Top Architect
Top Architect
Aug 22, 2024 · Backend Development

Implementing a Generic Tree Conversion Utility in Java

This article explains how to design a flexible TreeNode interface and a TreeUtil class in Java that convert flat collections into hierarchical tree structures, provides multiple static methods for object and JSON tree generation, and discusses optimization techniques for large data sets.

Data StructuresJavaTree Structure
0 likes · 10 min read
Implementing a Generic Tree Conversion Utility in Java
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 15, 2024 · Backend Development

Understanding Java ConcurrentHashMap: Principles, Implementation, and Usage

This article provides a comprehensive overview of Java's ConcurrentHashMap, explaining its purpose, underlying lock‑segmentation and CAS mechanisms in JDK 7 and JDK 8, demonstrating usage with sample code, and outlining scenarios where it delivers high‑performance thread‑safe map operations.

Backend DevelopmentConcurrentHashMapData Structures
0 likes · 6 min read
Understanding Java ConcurrentHashMap: Principles, Implementation, and Usage
FunTester
FunTester
Aug 12, 2024 · Backend Development

Building a High‑Performance LRU Cache in Go from Scratch

This article explains the importance of caching, compares common replacement policies, and walks through a complete Go implementation of a thread‑safe local LRU cache, including interface design, data structures, linked‑list management, and concurrency handling.

Backend DevelopmentData StructuresGo
0 likes · 11 min read
Building a High‑Performance LRU Cache in Go from Scratch
Test Development Learning Exchange
Test Development Learning Exchange
Aug 10, 2024 · Fundamentals

Mastering Shallow vs Deep Copy in Python: When and How to Use Them

This guide explains the difference between Python's shallow and deep copy mechanisms, shows the built‑in tools available, and provides ten concrete code examples covering lists, dictionaries, custom objects, tuples, sets and multi‑level nesting to help you choose the right copying strategy for reliable API test automation.

AutomationData StructuresPython
0 likes · 8 min read
Mastering Shallow vs Deep Copy in Python: When and How to Use Them
Satori Komeiji's Programming Classroom
Satori Komeiji's Programming Classroom
Jul 30, 2024 · Fundamentals

Inside Python’s List: C‑Level Implementations of Core Methods

This article walks through the CPython source code that defines list’s built‑in methods—append, insert, pop, index, count, remove, reverse, clear, and copy—explaining how each method is wired into the type object, the underlying C logic, time‑complexity characteristics, and common pitfalls such as reference‑count handling and shallow versus deep copying.

Data StructuresListPython
0 likes · 28 min read
Inside Python’s List: C‑Level Implementations of Core Methods
Tencent Cloud Developer
Tencent Cloud Developer
Jul 25, 2024 · Databases

Redis: Features, Use Cases, Evolution, Architecture, Data Types, Commands, and Tencent Cloud Redis

Redis is a high‑performance, in‑memory NoSQL key‑value store offering persistence, rich data types, advanced structures, and robust commands, supporting caching, session storage, pub/sub, and leaderboards, while evolving through replication, Sentinel, clustering, and multithreaded proxies, with Tencent Cloud providing scalable, highly available managed Redis services.

Cloud ServicesData StructuresIn-Memory Database
0 likes · 9 min read
Redis: Features, Use Cases, Evolution, Architecture, Data Types, Commands, and Tencent Cloud Redis
MaGe Linux Operations
MaGe Linux Operations
Jul 11, 2024 · Fundamentals

Master Python list.sort vs sorted: Tips, Syntax, and Real-World Examples

This guide explains the differences between Python's list.sort method and the sorted function, covering their syntax, parameters, performance nuances, and practical examples such as ascending/descending order, custom key functions, and creating sorted copies without altering the original list.

Code ExamplesData StructuresPython
0 likes · 7 min read
Master Python list.sort vs sorted: Tips, Syntax, and Real-World Examples
Java Tech Enthusiast
Java Tech Enthusiast
Jul 2, 2024 · Databases

Practical Redis Use Cases and Code Examples

This guide walks backend developers through twenty real‑world Redis use cases—from basic caching, lotteries, and like/collect features to ranking, PV/UV counting, Bloom filters, sign‑in, geo‑search, rate limiting, ID generation, distributed locks, messaging, session sharing, and more—providing Spring Boot code samples, limitations, and best‑practice advice.

Backend DevelopmentData StructuresDistributed Systems
0 likes · 55 min read
Practical Redis Use Cases and Code Examples
Test Development Learning Exchange
Test Development Learning Exchange
Jun 27, 2024 · Fundamentals

Comprehensive Guide to Python Dictionaries: Creation, Access, Modification, Traversal, Comprehensions, and Advanced Techniques

This tutorial provides a thorough overview of Python dictionaries, covering their creation, key‑value access, addition, update, deletion, iteration, comprehensions, safe retrieval with get(), merging, sorting, built‑in functions, and unpacking for function arguments, all illustrated with clear code examples.

Data StructuresPythondictionary
0 likes · 5 min read
Comprehensive Guide to Python Dictionaries: Creation, Access, Modification, Traversal, Comprehensions, and Advanced Techniques
DaTaobao Tech
DaTaobao Tech
May 13, 2024 · Big Data

Interview Algorithms and System Design: Bloom Filter, TopK, Median, and Concurrency Implementations

The article presents a suite of interview‑style algorithm and system‑design solutions—including Bloom‑filter URL blacklists, hash‑partitioned word frequencies, missing‑number bit arrays, top‑K min‑heap, low‑memory median, short‑URL encoding, Redis user counting, and extensive Java implementations of sorting, singleton, LRU cache, custom thread pools, producer‑consumer models and various FooBar synchronization techniques.

Big DataData Structuresalgorithm
0 likes · 35 min read
Interview Algorithms and System Design: Bloom Filter, TopK, Median, and Concurrency Implementations
Su San Talks Tech
Su San Talks Tech
May 6, 2024 · Databases

Why Redis Is Lightning Fast: Deep Dive into Its Core Architecture

This article explores why Redis delivers ultra‑high performance by examining its in‑memory design, single‑threaded event loop, efficient data structures such as hash tables, SDS strings, ziplist, quicklist, and skiplist, as well as its encoding strategies and I/O multiplexing model.

Data StructuresI/O MultiplexingIn-Memory Database
0 likes · 21 min read
Why Redis Is Lightning Fast: Deep Dive into Its Core Architecture
MaGe Linux Operations
MaGe Linux Operations
May 5, 2024 · Databases

Why MySQL Chooses B+ Trees: From BSTs to High-Performance Indexes

This article traces the evolution of tree‑based index structures—from simple binary search trees through AVL and red‑black trees to B‑trees and B+‑trees—explaining their strengths and limitations and why MySQL adopts B+‑trees to minimize disk I/O and boost query performance.

B+TreeData StructuresDatabase Performance
0 likes · 12 min read
Why MySQL Chooses B+ Trees: From BSTs to High-Performance Indexes
MaGe Linux Operations
MaGe Linux Operations
May 4, 2024 · Databases

Unlocking Redis Memory: How Its Internal Model Impacts Performance

This article explains Redis's memory model—including memory statistics, allocation, internal data structures, object types, and encoding—while showing practical examples for estimating usage, optimizing consumption, and troubleshooting fragmentation in high‑concurrency environments.

Data StructuresMemory Managementjemalloc
0 likes · 34 min read
Unlocking Redis Memory: How Its Internal Model Impacts Performance
Java Tech Enthusiast
Java Tech Enthusiast
May 1, 2024 · Fundamentals

Pitfalls of Arrays.asList in Java

Java's Arrays.asList method has three major pitfalls: it cannot directly convert primitive arrays like int[] because of autoboxing limits, it returns a fixed-size list that throws UnsupportedOperationException on modification, and the list shares its backing array so changes to the original array are reflected in the list; using Arrays.stream for boxing or wrapping the result in a new ArrayList avoids these issues.

Arrays.asListCode ExamplesCollections
0 likes · 4 min read
Pitfalls of Arrays.asList in Java
Liangxu Linux
Liangxu Linux
Apr 25, 2024 · Databases

How MySQL’s B+ Tree Indexes Supercharge Query Speed and Reliability

MySQL, born in the 1990s as a free open‑source database, became a core component of the LAMP stack and remains widely used; the article explains why indexes are needed, compares binary trees, B‑trees and B+‑trees, and describes how modern cloud‑based MySQL services improve performance and reliability.

B+TreeData Structuresdatabase indexing
0 likes · 9 min read
How MySQL’s B+ Tree Indexes Supercharge Query Speed and Reliability
DaTaobao Tech
DaTaobao Tech
Apr 24, 2024 · Fundamentals

Comprehensive Collection of Algorithm Templates and Code Snippets for LeetCode

This guide compiles essential Python built‑in functions, data‑structure utilities, and ready‑to‑use algorithmic templates—including dynamic programming, backtracking with caching, binary search, bit manipulation, union‑find, topological sort, monotonic stack, sliding window, prefix sums, two‑pointer and graph traversals—to accelerate LeetCode problem solving.

Data StructuresLeetCodealgorithm
0 likes · 25 min read
Comprehensive Collection of Algorithm Templates and Code Snippets for LeetCode
Ops Development & AI Practice
Ops Development & AI Practice
Apr 22, 2024 · Fundamentals

Mastering Go Generics: Real-World Examples and Practical Insights

This article introduces Go's groundbreaking generics feature introduced in version 1.18, explains its syntax and type constraints, demonstrates practical implementations such as generic functions, data structures, and methods with full code examples, and evaluates the benefits, challenges, and future prospects of using generics in Go.

Data StructuresGenericsGo
0 likes · 7 min read
Mastering Go Generics: Real-World Examples and Practical Insights
Python Programming Learning Circle
Python Programming Learning Circle
Apr 19, 2024 · Fundamentals

Comprehensive Introduction to Python Algorithms: Sorting, Searching, and Cryptography

This article introduces a curated collection of Python algorithm implementations, covering basic sorting and searching techniques, as well as advanced methods like quickselect and tabu search, as well as cryptographic algorithms such as Caesar, Vigenère, and RSA, with explanations, visualizations, and links to the GitHub repository for further study.

AlgorithmsData StructuresPython
0 likes · 15 min read
Comprehensive Introduction to Python Algorithms: Sorting, Searching, and Cryptography
IT Services Circle
IT Services Circle
Apr 17, 2024 · Databases

Comprehensive Didi Interview Review: Redis Persistence, Data Types, Memory Issues, and System Concepts

This article summarizes a Didi second‑round interview covering Redis persistence mechanisms, data structures, memory overflow and leak concepts, thread safety, process vs thread differences, deadlock prevention, TCP/UDP distinctions, and a couple of hand‑written algorithm problems, providing detailed explanations and code examples.

Data Structuresdatabaseinterview
0 likes · 19 min read
Comprehensive Didi Interview Review: Redis Persistence, Data Types, Memory Issues, and System Concepts
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 11, 2024 · Fundamentals

Master LeetCode Algorithms: Essential Python Templates for Interviews

This article compiles a comprehensive set of Python algorithm templates—including syntax shortcuts, knapsack solutions, backtracking, union‑find, topological sorting, monotonic stacks, binary search, dynamic programming, prefix sums, two‑pointer techniques, tree traversals, and graph algorithms—providing clear code snippets and explanations to help developers ace LeetCode interview problems.

AlgorithmsBacktrackingData Structures
0 likes · 30 min read
Master LeetCode Algorithms: Essential Python Templates for Interviews
Efficient Ops
Efficient Ops
Apr 7, 2024 · Databases

Unlock 16 Powerful Redis Use Cases to Supercharge Your Backend

This article explores sixteen practical Redis patterns—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, tags, filtering, follow relationships, and ranking—demonstrating how each can boost performance and simplify backend architecture.

Backend DevelopmentData Structurescaching
0 likes · 8 min read
Unlock 16 Powerful Redis Use Cases to Supercharge Your Backend
Java Backend Technology
Java Backend Technology
Mar 24, 2024 · Databases

Beyond Caching: How Redis Powers Real‑World Storage and Services

Redis is widely known as a high‑performance cache, but its rich data structures, persistence options, and distributed features enable it to serve as a primary storage engine for many internet services, from user profiles and leaderboards to rate limiting, messaging, and geo‑location, while presenting scalability and reliability challenges.

Data StructuresDistributed SystemsIn-Memory Database
0 likes · 19 min read
Beyond Caching: How Redis Powers Real‑World Storage and Services
IT Services Circle
IT Services Circle
Mar 12, 2024 · Fundamentals

LRU Cache Design and Java Implementation with O(1) Operations

This article explains the LeetCode LRU Cache problem, detailing the required class interface, operational constraints, and provides a thorough Java solution using a HashMap combined with a doubly linked list to achieve O(1) time complexity for get and put operations.

Data StructuresDoubly Linked ListHashMap
0 likes · 10 min read
LRU Cache Design and Java Implementation with O(1) Operations
Python Programming Learning Circle
Python Programming Learning Circle
Mar 1, 2024 · Fundamentals

Python Code Optimization Techniques for Faster Execution

This article presents practical Python performance optimization techniques, covering fundamental principles such as avoiding premature optimization, weighing trade‑offs, eliminating global variables, reducing attribute access, minimizing unnecessary abstractions, avoiding data copies, leveraging efficient loops, using short‑circuit logic, applying numba JIT, and selecting appropriate data structures to significantly speed up code execution.

Data StructuresPythonnumba
0 likes · 20 min read
Python Code Optimization Techniques for Faster Execution
Liangxu Linux
Liangxu Linux
Feb 20, 2024 · Fundamentals

9 Essential C Utility Snippets Every Embedded Engineer Should Know

This article presents nine powerful C utility code examples—including a circular buffer, custom assertions, bit reversal, fixed‑point arithmetic, endianness conversion, bit masks, timer handling, binary search, and a simple bitset—explaining their purpose and demonstrating how they can improve performance and maintainability in embedded system development.

CData Structuresbit manipulation
0 likes · 7 min read
9 Essential C Utility Snippets Every Embedded Engineer Should Know
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 7, 2024 · Fundamentals

Understanding Hash Tables: Concepts, Collision Resolution, and Python Implementations

This article explains the concept of hashing and hash tables, describes their characteristics and common collision‑resolution strategies such as open addressing, linear and quadratic probing, chaining, and rehashing, and provides complete Python implementations including a simple hash class, a dynamic map class, and a custom dictionary.

Data Structureschainingcollision-resolution
0 likes · 13 min read
Understanding Hash Tables: Concepts, Collision Resolution, and Python Implementations
Java Captain
Java Captain
Feb 4, 2024 · Fundamentals

Implementing an AVL Self-Balancing Binary Search Tree in Java

This article explains the concept of AVL self‑balancing binary search trees, outlines their height‑balancing property, and provides step‑by‑step Java code examples defining a Node class implementing Comparable and an AVLTree class with height, balance factor calculations, and rotation methods for insertion and deletion.

AVL treeBinary Search TreeData Structures
0 likes · 4 min read
Implementing an AVL Self-Balancing Binary Search Tree in Java
Python Programming Learning Circle
Python Programming Learning Circle
Jan 25, 2024 · Fundamentals

Python Memory Optimization Techniques: __slots__, Generators, mmap, Data Types, and String Interning

This article explains practical Python memory‑saving methods—including inspecting memory usage, using __slots__, generators, memory‑mapped files, choosing efficient data structures, and string interning—providing code examples and performance comparisons to help developers write more memory‑efficient programs.

Data StructuresMemory OptimizationPython
0 likes · 11 min read
Python Memory Optimization Techniques: __slots__, Generators, mmap, Data Types, and String Interning
Python Programming Learning Circle
Python Programming Learning Circle
Jan 23, 2024 · Fundamentals

Python Essentials: 60 Frequently Used Built-in Functions and Techniques

This article presents a comprehensive collection of 60 frequently used Python built-in functions and techniques, covering numeric operations, string handling, data structures, function definitions, class utilities, and useful tools, each illustrated with clear code examples and explanations for practical programming.

Data StructuresPythonprogramming basics
0 likes · 22 min read
Python Essentials: 60 Frequently Used Built-in Functions and Techniques
MaGe Linux Operations
MaGe Linux Operations
Jan 19, 2024 · Databases

Master Redis Data Structures: Practical Commands and Use Cases

This comprehensive guide walks through Redis's core data structures—including strings, lists, sets, sorted sets, hashes, HyperLogLog, bitmaps, streams, and geospatial indexes—explaining their characteristics and providing concrete command‑line examples to help developers select and use the right structure for their applications.

Data StructuresNoSQLdatabase
0 likes · 10 min read
Master Redis Data Structures: Practical Commands and Use Cases
JD Cloud Developers
JD Cloud Developers
Jan 11, 2024 · Fundamentals

Why Red-Black Trees Beat AVL: Insertion, Deletion, and Java TreeMap

This article explores the classic implementation of red‑black trees, comparing them with AVL trees, detailing their 2‑3‑4 tree correspondence, and walking through Java TreeMap insertion and deletion algorithms, including node definitions, rotation cases, and rebalancing procedures, while analyzing their time complexities.

AVL treeData StructuresJava TreeMap
0 likes · 20 min read
Why Red-Black Trees Beat AVL: Insertion, Deletion, and Java TreeMap
Senior Tony
Senior Tony
Jan 11, 2024 · Backend Development

10 Powerful Redis Use Cases Beyond Simple Caching

This guide explores ten practical Redis scenarios—including login authentication, counters, fan following, leaderboards, anti‑scraping, message queues, browser history, distributed locks, user sign‑in tracking, and website UV statistics—showcasing commands and patterns to boost performance in real‑world applications.

Caching AlternativesData StructuresDistributed Systems
0 likes · 12 min read
10 Powerful Redis Use Cases Beyond Simple Caching
政采云技术
政采云技术
Jan 2, 2024 · Databases

Understanding B‑Tree and B+Tree Indexes in MySQL

This article explains the fundamentals of B‑Tree and B+Tree data structures, their search algorithms, and how MySQL's MyISAM and InnoDB storage engines implement these indexes to achieve efficient disk‑based query performance.

AlgorithmsB+TreeB-Tree
0 likes · 19 min read
Understanding B‑Tree and B+Tree Indexes in MySQL
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
Su San Talks Tech
Su San Talks Tech
Dec 4, 2023 · Fundamentals

Can You Build a HashMap from Scratch? A Step‑by‑Step Java Guide

This article walks you through the fundamentals of hash tables, explains bucket arrays and hash functions, discusses collision resolution strategies, and provides a complete Java implementation of a simple HashMap called ThirdHashMap with code, tests, and performance notes.

Data StructuresHashMapJava
0 likes · 13 min read
Can You Build a HashMap from Scratch? A Step‑by‑Step Java Guide
Selected Java Interview Questions
Selected Java Interview Questions
Dec 2, 2023 · Backend Development

Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual

This article explains the recent correction in Alibaba's developer manual that replaces the ambiguous "expansion count" of HashMap with the precise "resize count", details the conditions under which HashMap triggers resize during the first put operation, and shows why storing 1024 elements in JDK 1.8 results in eight resize calls.

BackendData StructuresJDK8
0 likes · 9 min read
Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual
Deepin Linux
Deepin Linux
Nov 24, 2023 · Fundamentals

Embedded Software Interview Experience and Technical Review

This article shares a comprehensive embedded software interview guide, covering written‑test topics such as structs vs. unions, linked lists, pointer safety, endianness detection, and a strcpy implementation, followed by technical interview tips, HR interview advice, and concluding remarks.

CData StructuresLinux
0 likes · 22 min read
Embedded Software Interview Experience and Technical Review
Python Programming Learning Circle
Python Programming Learning Circle
Nov 15, 2023 · Fundamentals

30 Minimal Python Tasks for Beginners

This article presents thirty concise Python exercises covering common tasks such as duplicate detection, anagram checking, memory usage, list manipulation, dictionary merging, and more, each illustrated with clear code examples to help beginners practice and deepen their programming skills.

AlgorithmsData Structurescode snippets
0 likes · 14 min read
30 Minimal Python Tasks for Beginners
Deepin Linux
Deepin Linux
Oct 18, 2023 · Fundamentals

Understanding STL: Vectors, Lists, Iterators, and Container Implementations

This article provides a comprehensive overview of the C++ Standard Template Library, detailing the differences between vectors and lists, memory management, iterator validity, container operations, and implementations of various containers such as deque, set, map, and slist, along with code examples.

C++ContainersData Structures
0 likes · 48 min read
Understanding STL: Vectors, Lists, Iterators, and Container Implementations
政采云技术
政采云技术
Sep 27, 2023 · Databases

Understanding Redis Data Types and Their Internal Memory Implementations

This article explains Redis’s five core data object types—strings, lists, hashes, sets, and sorted sets—detailing their encoding schemes, underlying memory structures such as SDS, ziplist, linkedlist, hashtable, and skiplist, and how Redis optimizes storage and access performance.

Data StructuresMemory Managementkey-value store
0 likes · 13 min read
Understanding Redis Data Types and Their Internal Memory Implementations
Architect
Architect
Sep 21, 2023 · Databases

Redis Deep Dive: 20 Classic Interview Questions Explained

This article provides a comprehensive technical walkthrough of Redis, covering its core concepts, data structures, performance tricks, caching pitfalls, persistence options, high‑availability architectures, distributed locking mechanisms, and consistency strategies, all illustrated with concrete examples and code snippets.

Data StructuresDistributed LocksPersistence
0 likes · 50 min read
Redis Deep Dive: 20 Classic Interview Questions Explained
Top Architect
Top Architect
Sep 15, 2023 · Databases

Redis Overview, Features, Use Cases, and Installation Guide

This article introduces Redis as an open‑source, high‑performance in‑memory key‑value store, explains its rich data structures, underlying implementations, performance advantages, common use cases such as caching and messaging, and provides step‑by‑step installation and basic command examples for Ubuntu systems.

Data StructuresIn-Memory DatabaseInstallation
0 likes · 12 min read
Redis Overview, Features, Use Cases, and Installation Guide
Ximalaya Technology Team
Ximalaya Technology Team
Sep 6, 2023 · Backend Development

Design Analysis of Lucene and In-Memory Inverted Index Service for Advertising Retrieval

The team analyzed Lucene’s disk‑based inverted index and built a custom in‑memory inverted‑index service for Himalaya’s ad engine, encoding terms as 64‑bit keys, supporting real‑time updates and BooleanQuery‑style and custom expression filtering, which cut query latency from ~50 ms to under 5 ms and enabled massive scaling.

Data StructuresJavaMemory Search
0 likes · 27 min read
Design Analysis of Lucene and In-Memory Inverted Index Service for Advertising Retrieval
MaGe Linux Operations
MaGe Linux Operations
Sep 4, 2023 · Databases

Why Redis Is So Fast: Features, Data Structures, and Real-World Use Cases

Redis is a high-performance, open-source in-memory key-value database offering rich data structures, persistence options, and advanced features like replication, clustering, and pub/sub, making it ideal for caching, counters, message queues, leaderboards, and session storage in demanding, high-concurrency applications.

Data StructuresIn-Memory DatabaseMessage Queue
0 likes · 9 min read
Why Redis Is So Fast: Features, Data Structures, and Real-World Use Cases
JD Tech
JD Tech
Aug 30, 2023 · Databases

A Comprehensive Overview of Database Evolution, Types, and Data Structure Design Techniques

This article explains key database terminology, traces the history of database technologies, compares relational, NoSQL, NewSQL, OLTP/OLAP, columnar, time‑series and graph databases, and demonstrates practical data‑structure designs such as zipper tables, bit operations, bitmaps, bloom filters, and ring queues for software development.

Big DataData StructuresNoSQL
0 likes · 27 min read
A Comprehensive Overview of Database Evolution, Types, and Data Structure Design Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Aug 9, 2023 · Fundamentals

Understanding Python Lists: Creation, Operations, and Manipulation

This article explains why Python lists are essential, how to create them (empty, with integers, strings, mixed types, or nested lists), outlines their key characteristics such as order and mutability, and demonstrates common operations—including indexing, slicing, adding, removing, modifying, and retrieving element indices—through clear code examples.

Data StructuresListPython
0 likes · 12 min read
Understanding Python Lists: Creation, Operations, and Manipulation
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 8, 2023 · Interview Experience

Unlock the Golden Treasure Box: Algorithmic Solutions for Interview Questions

This article presents three interview‑style algorithm problems—a golden treasure‑box search, an inequality‑set validator with maximum‑difference calculation, and a smallest‑number‑after‑removing‑digits task—each with clear problem statements, constraints, step‑by‑step simulation logic, and full Python code implementations.

Data StructuresPythonalgorithm
0 likes · 10 min read
Unlock the Golden Treasure Box: Algorithmic Solutions for Interview Questions
Python Programming Learning Circle
Python Programming Learning Circle
Aug 4, 2023 · Fundamentals

17 Useful Python Tricks for Everyday Programming

This article presents seventeen practical Python techniques—including list manipulation, dictionary handling, string operations, and control‑flow shortcuts—that showcase the language's elegance and help developers write cleaner, more efficient code in everyday projects.

AlgorithmsCode EfficiencyData Structures
0 likes · 4 min read
17 Useful Python Tricks for Everyday Programming
Python Programming Learning Circle
Python Programming Learning Circle
Jul 28, 2023 · Fundamentals

20 Practical Python Tips and Tricks for Everyday Coding

This article presents a curated list of twenty practical Python tricks—including string reversal, title casing, unique element extraction, list multiplication, dictionary merging, timing code execution, and more—each explained with concise descriptions and ready‑to‑run code examples to help developers write cleaner and more efficient Python code.

Code ExamplesData StructuresString Manipulation
0 likes · 11 min read
20 Practical Python Tips and Tricks for Everyday Coding
21CTO
21CTO
Jul 24, 2023 · Fundamentals

Boost Your Python Skills: 20 Essential Tricks Every Developer Should Know

This article presents a curated collection of practical Python tricks—from handling multiple user inputs and using all/any for condition checks, to swapping variables, detecting palindromes, removing duplicates, finding the most frequent list item, leveraging list comprehensions, *args, enumerate, string joining, dictionary merging, sorting, pretty‑printing, and comparing list‑reversal methods—each illustrated with clear code examples.

Code ExamplesData StructuresTips
0 likes · 10 min read
Boost Your Python Skills: 20 Essential Tricks Every Developer Should Know
Architect's Guide
Architect's Guide
Jul 24, 2023 · Big Data

Using Bitmap and Bloom Filter to De‑duplicate 4 Billion IDs Within 1 GB Memory

The article explains how to store and de‑duplicate 4 billion unsigned integers using a bitmap to reduce memory from 14.9 GB to under 500 MB, introduces the concept and benefits of bitmaps, describes Bloom filters, their principles, advantages, limitations, typical use cases, and provides Java and Redis implementation examples.

Big DataBitmapData Structures
0 likes · 10 min read
Using Bitmap and Bloom Filter to De‑duplicate 4 Billion IDs Within 1 GB Memory
php Courses
php Courses
Jul 4, 2023 · Databases

Using Redis with Python for Data Storage and Retrieval

This article explains how to install and configure Redis, connect to it using Python's redis library, and demonstrates storing and retrieving various data structures—including strings, hashes, lists, sets, and sorted sets—followed by proper disconnection, providing a practical guide for Python developers.

Data StructuresPythoncaching
0 likes · 3 min read
Using Redis with Python for Data Storage and Retrieval
Su San Talks Tech
Su San Talks Tech
Jun 26, 2023 · Backend Development

Mastering Bloom Filters: From Theory to Guava & Redisson Implementations

Explore the design and mechanics of Bloom filters, understand their role in preventing cache penetration, learn how to calculate optimal parameters, and see practical Java implementations using Google Guava and Redisson, including code snippets, performance considerations, and strategies for handling deletions.

BackendData StructuresGuava
0 likes · 19 min read
Mastering Bloom Filters: From Theory to Guava & Redisson Implementations
Python Programming Learning Circle
Python Programming Learning Circle
Jun 24, 2023 · Fundamentals

Comprehensive Introduction to Python Algorithms: Principles, Implementations, and Resources

This article presents a thorough overview of Python algorithm fundamentals, covering sorting, searching, cryptographic techniques, and neural‑network examples, while linking to the open‑source TheAlgorithms/Python repository that provides both theoretical explanations and ready‑to‑run code samples for learners.

AlgorithmsData StructuresSearching
0 likes · 13 min read
Comprehensive Introduction to Python Algorithms: Principles, Implementations, and Resources
Java Architect Essentials
Java Architect Essentials
Jun 13, 2023 · Fundamentals

How Bloom, Counting Bloom, and Cuckoo Filters Cut Database I/O

To reduce costly database I/O, the article explains how Bloom filters, Counting Bloom filters, and Cuckoo filters work, detailing their bitmap/hash mechanisms, false‑positive behavior, deletion limitations, and practical enhancements such as multi‑hash functions and bucket‑level fingerprints.

Counting BloomCuckoo FilterData Structures
0 likes · 13 min read
How Bloom, Counting Bloom, and Cuckoo Filters Cut Database I/O
Laravel Tech Community
Laravel Tech Community
Jun 6, 2023 · Fundamentals

Understanding Bloom Filters, Counting Bloom Filters, and Cuckoo Filters

This article explains how Bloom filters, their counting variant, and Cuckoo filters work to reduce unnecessary database I/O by using bitmap or fingerprint techniques, discusses their false‑positive and deletion limitations, and presents practical optimizations for high‑performance hash‑based filtering.

Counting Bloom FilterCuckoo FilterData Structures
0 likes · 11 min read
Understanding Bloom Filters, Counting Bloom Filters, and Cuckoo Filters