Tagged articles

Data Structures

655 articles · Page 7 of 7
MaGe Linux Operations
MaGe Linux Operations
Jan 25, 2018 · Databases

Master Redis: Data Structures, Commands, and Performance Tuning Explained

This comprehensive guide introduces Redis fundamentals, covering its core data structures and essential commands, then delves into performance optimization, high‑availability setups with replication and Sentinel, and scaling strategies using Redis Cluster, providing practical examples and best‑practice recommendations for robust in‑memory data management.

ClusteringData StructuresPerformance Tuning
0 likes · 29 min read
Master Redis: Data Structures, Commands, and Performance Tuning Explained
MaGe Linux Operations
MaGe Linux Operations
Jan 10, 2018 · Fundamentals

Essential Python Concepts Every Developer Should Know

This article provides a comprehensive overview of Python fundamentals—including its interpreted nature, dynamic typing, OOP support, memory management, key tools like PEP8 and linters, core data structures, and common features such as decorators, generators, and slicing—offering a solid foundation for both beginners and seasoned programmers.

Data StructuresPythonpep8
0 likes · 11 min read
Essential Python Concepts Every Developer Should Know
Java Captain
Java Captain
Jan 9, 2018 · Backend Development

Comprehensive List of Java Interview Questions and Programming Topics

This article compiles an extensive collection of Java interview questions covering core concepts, language features, data structures, concurrency, JVM internals, exception handling, I/O, design patterns, and practical coding exercises, providing a comprehensive study guide for developers preparing for technical interviews.

Data StructuresJVMprogramming
0 likes · 30 min read
Comprehensive List of Java Interview Questions and Programming Topics
Qunar Tech Salon
Qunar Tech Salon
Dec 29, 2017 · Fundamentals

12 Essential Python Programming Basics: Regular Expressions, Directory Traversal, List Sorting, Deduplication, Dictionary Sorting, Data Conversion, Time Operations, Command‑Line Parsing, Print Formatting, Base Conversion, System Commands, Signal Handling, and File I/O

This article presents a concise collection of twelve fundamental Python techniques—including regex substitution, directory walking, list sorting and deduplication, dictionary sorting, conversions between dict/list/string, time manipulation, getopt argument parsing, formatted printing, numeral base conversion, executing system commands, handling Ctrl+C/Ctrl+D signals, and file reading/writing—each illustrated with ready‑to‑run code snippets.

Argument ParsingData StructuresFile I/O
0 likes · 14 min read
12 Essential Python Programming Basics: Regular Expressions, Directory Traversal, List Sorting, Deduplication, Dictionary Sorting, Data Conversion, Time Operations, Command‑Line Parsing, Print Formatting, Base Conversion, System Commands, Signal Handling, and File I/O
MaGe Linux Operations
MaGe Linux Operations
Nov 26, 2017 · Fundamentals

Essential Python Basics: 25 Key Concepts Every Developer Should Know

This article provides a comprehensive overview of Python fundamentals, covering its interpreted nature, interactivity, object‑oriented features, benefits, coding standards like PEP8, serialization with pickle, memory management, debugging tools, decorators, data structures, namespaces, lambda functions, testing, and more.

Data StructuresDebuggingPickle
0 likes · 9 min read
Essential Python Basics: 25 Key Concepts Every Developer Should Know
Java Captain
Java Captain
Nov 20, 2017 · Fundamentals

Differences Between Java HashMap and Hashtable

This article explains the key distinctions between Java's HashMap and Hashtable, covering thread safety, synchronization, null handling, iterator behavior, performance implications, and how to achieve synchronization for HashMap, helping readers prepare for interview questions on the Java collections framework.

Data StructuresHashMaphashtable
0 likes · 5 min read
Differences Between Java HashMap and Hashtable

Master Python Lists: Create, Access, Modify, Delete, and Append Elements in One Simple Guide

This tutorial walks through Python list fundamentals, showing how to define a list, retrieve elements by index, update a specific item, remove an element, and append new items, while explaining the underlying indexing rules and the benefits of using a single container for multiple strings.

Data StructuresPythonbasics
0 likes · 4 min read
Master Python Lists: Create, Access, Modify, Delete, and Append Elements in One Simple Guide
ITPUB
ITPUB
Oct 22, 2017 · Databases

Mastering Redis: Core Data Structures, Commands, and Performance Tuning

Redis is an open-source, in-memory data store offering versatile structures and commands; this guide explains its fundamentals, key data types, essential commands, practical examples, performance optimization techniques, replication, clustering, and Java client choices to help you design robust, high-performance Redis solutions.

ClusterData StructuresJava Client
0 likes · 29 min read
Mastering Redis: Core Data Structures, Commands, and Performance Tuning
Aotu Lab
Aotu Lab
Oct 20, 2017 · Fundamentals

Why Use Linked Lists in JavaScript? A Practical Guide to Efficient Data Structures

This article explains the concept of linked lists versus sequential array storage, why JavaScript developers might need them, and provides step‑by‑step code to implement singly and doubly linked lists, custom array‑like APIs, and a circular list, along with performance trade‑offs and a GitHub reference.

Data StructuresLinked List
0 likes · 9 min read
Why Use Linked Lists in JavaScript? A Practical Guide to Efficient Data Structures
21CTO
21CTO
Oct 13, 2017 · Fundamentals

Master Python Basics: Variables, Control Flow, Loops, Data Structures & OOP

This comprehensive tutorial walks you through Python fundamentals—from defining variables, booleans, strings, and numbers to using conditional statements, while and for loops, manipulating lists and dictionaries, and building classes with objects, encapsulation, and inheritance—providing clear code examples for each concept.

Control FlowData StructuresLoops
0 likes · 19 min read
Master Python Basics: Variables, Control Flow, Loops, Data Structures & OOP
Java High-Performance Architecture
Java High-Performance Architecture
Oct 13, 2017 · Databases

Why Redis Added Streams and How to Use Them Effectively

Redis introduced the Streams data type to address limitations of sorted sets, lists, and Pub/Sub for handling continuous data flows, offering features like field-value entries, efficient range queries, and client blocking with ID tracking, and the article explains its design, commands, and usage examples.

Data StructuresStreamstime series
0 likes · 7 min read
Why Redis Added Streams and How to Use Them Effectively
Java Captain
Java Captain
Sep 25, 2017 · Fundamentals

Java Collection Framework Overview with Code Examples

This article explains the Java collection class diagram, distinguishes concrete classes, abstract classes, and interfaces, describes Iterator and ListIterator behavior, and provides detailed code demonstrations of HashSet, ArrayList, ListIterator, and WeakHashMap usage along with their outputs.

Data StructuresHashSetIterator
0 likes · 13 min read
Java Collection Framework Overview with Code Examples
Java Backend Technology
Java Backend Technology
Sep 4, 2017 · Fundamentals

Deep Dive into Java ArrayList: How It Works Under the Hood

This article explores Java's ArrayList implementation in depth, covering its core interfaces, member variables, constructors, and the most commonly used methods, while illustrating how the internal array expands and how each operation manipulates the underlying data structure.

Data StructuresJavaarraylist
0 likes · 14 min read
Deep Dive into Java ArrayList: How It Works Under the Hood
MaGe Linux Operations
MaGe Linux Operations
Aug 24, 2017 · Fundamentals

Kickstart Your Python Journey: Essential Basics for Beginners

This article introduces newcomers to programming by explaining why Python is an ideal first language and walks through its core syntax, data types, operators, functions, classes, modules, and advanced features, offering practical guidance and motivational advice to help beginners confidently start coding.

Beginner TutorialData StructuresPython
0 likes · 7 min read
Kickstart Your Python Journey: Essential Basics for Beginners
Beike Product & Technology
Beike Product & Technology
Aug 15, 2017 · Mobile Development

Optimizing Android Memory Usage by Avoiding Autoboxing in Long Objects

This article discusses memory optimization in Android apps by addressing excessive object allocations caused by autoboxing Long values, leading to performance issues during feed scrolling. The solution involves implementing a custom data structure to reduce memory usage and improve application responsiveness.

Android optimizationAutoboxingData Structures
0 likes · 8 min read
Optimizing Android Memory Usage by Avoiding Autoboxing in Long Objects
Efficient Ops
Efficient Ops
Jul 26, 2017 · Databases

Mastering Redis: Data Structures, Commands, and Performance Tuning

This comprehensive guide introduces Redis fundamentals, explores its rich data structures and essential commands, delves into performance optimization techniques, explains replication and clustering strategies, and compares popular Java clients, providing practical examples and best‑practice recommendations for reliable, high‑performance deployments.

ClusterData StructuresJava Client
0 likes · 31 min read
Mastering Redis: Data Structures, Commands, and Performance Tuning
Java Captain
Java Captain
Jul 23, 2017 · Fundamentals

Comprehensive Overview of the Java Collections Framework

This article provides a comprehensive overview of the Java Collections Framework, detailing the characteristics, usage, and conversion methods of arrays, single‑threaded collections such as Lists, Queues, Maps, Sets, as well as concurrent collections, including key utility methods and code examples.

Data Structuresutilities
0 likes · 23 min read
Comprehensive Overview of the Java Collections Framework
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 StructuresIteratorSet
0 likes · 12 min read
Understanding Java Collection Framework: Interfaces, Implementations, and Usage
MaGe Linux Operations
MaGe Linux Operations
May 24, 2017 · Fundamentals

35 Essential Python Tricks Every Developer Should Know

Discover a curated list of 35 practical Python tricks—from unpacking and slicing to generators, dictionary comprehensions, and advanced data structures—each illustrated with clear code examples to help developers write more concise and efficient code.

ComprehensionsData StructuresPython
0 likes · 6 min read
35 Essential Python Tricks Every Developer Should Know
ITPUB
ITPUB
Apr 28, 2017 · Databases

Redis vs Memcached: In‑Depth Technical Comparison of Features, Performance, and Architecture

This article provides a comprehensive technical comparison between Redis and Memcached, covering server‑side operations, memory efficiency, performance characteristics, supported data types, memory management mechanisms, persistence options, and clustering architectures, illustrated with diagrams and concrete command examples.

CachingData StructuresIn-Memory Database
0 likes · 19 min read
Redis vs Memcached: In‑Depth Technical Comparison of Features, Performance, and Architecture
ITPUB
ITPUB
Apr 23, 2017 · Fundamentals

Master Core Data Structures: Linked Lists, Trees, Heaps, and More

This comprehensive guide explains fundamental data structures—including linked lists, stacks, queues, various tree types, binary indexed trees, segment trees, heaps, hash tables, and graphs—detailing their definitions, variants, typical operations, and time‑complexity characteristics for efficient algorithm design.

AlgorithmsData StructuresHash Table
0 likes · 9 min read
Master Core Data Structures: Linked Lists, Trees, Heaps, and More
21CTO
21CTO
Apr 12, 2017 · Fundamentals

Master Sorting Algorithms: From Bubble to Radix with Java Code

This article reviews common sorting algorithms—including bubble, selection, insertion, quick, heap, shell, merge, counting, bucket, and radix sorts—explaining their principles, time and space complexities, typical use cases, and providing complete Java implementations with illustrative examples and diagrams to help readers master them for interviews and practical development.

Complexity AnalysisData StructuresSorting Algorithms
0 likes · 27 min read
Master Sorting Algorithms: From Bubble to Radix with Java Code
21CTO
21CTO
Mar 24, 2017 · Fundamentals

My Journey Through Data Structures and Algorithms: Lessons, Books, and Real-World Projects

From a careless college student to a seasoned developer, the author chronicles a seven‑year odyssey of learning data structures and algorithms, sharing book recommendations, personal projects, internship experiences, and hard‑won insights on why solid algorithmic foundations are essential for modern software engineering.

AlgorithmsBooksData Structures
0 likes · 19 min read
My Journey Through Data Structures and Algorithms: Lessons, Books, and Real-World Projects
Liulishuo Tech Team
Liulishuo Tech Team
Mar 10, 2017 · Fundamentals

Understanding HashMap Implementations: A Comparative Analysis of Hash Tables and HAMT

This article explores two fundamental implementations of the HashMap data structure, comparing traditional Hash Tables with Hash Array Mapped Tries (HAMT), while analyzing their collision resolution strategies, hash functions, time and space complexities, and practical applications in modern programming languages like Ruby and functional paradigms.

Algorithm ComplexityData StructuresHAMT
0 likes · 12 min read
Understanding HashMap Implementations: A Comparative Analysis of Hash Tables and HAMT
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 5, 2017 · Databases

Redis vs Memcached: Architecture, Data Types, and Real-World Use Cases

This article examines the MySQL‑Memcached architecture, explains Memcached’s slab memory management, compares Redis and Memcached across performance, memory efficiency, persistence and data structures, details Redis’s core data types and their internal implementations, and showcases practical use‑cases such as caching, ranking, queues, Pub/Sub and real‑time analytics.

Data StructuresMemcachedRedis
0 likes · 27 min read
Redis vs Memcached: Architecture, Data Types, and Real-World Use Cases
Architecture Digest
Architecture Digest
Aug 16, 2016 · Databases

Redis Guide: Installation, Configuration, Data Structures, Persistence, and Advanced Features

This comprehensive Redis guide explains the in‑memory key‑value store’s installation, basic commands, configuration options, supported data structures, persistence mechanisms, replication, transactions, pub/sub, performance testing, connection handling, pipelining, and partitioning, providing practical examples for developers.

Data StructuresIn-Memory DatabaseReplication
0 likes · 27 min read
Redis Guide: Installation, Configuration, Data Structures, Persistence, and Advanced Features
Architect
Architect
Jul 21, 2016 · Databases

Redis Ziplist (Compressed List) Principles and Applications

This article explains Redis’s ziplist (compressed list) memory layout, detailing its overall encoding, node structure—including previous length, encoding, and content fields—illustrates how various Redis data types employ ziplist encoding, and analyzes the benefits and trade‑offs of using this structure.

Data StructuresRedismemory optimization
0 likes · 10 min read
Redis Ziplist (Compressed List) Principles and Applications
21CTO
21CTO
Apr 20, 2016 · Fundamentals

Why Algorithms Matter More Than Learning Every New Programming Language

The article argues that, despite the hype around ever‑changing programming languages, mastering core algorithms and computer science theory remains essential for building efficient, scalable solutions across fields—from search engines and parallel computing to scientific research—because algorithms are the enduring foundation of technology.

Computer Science FundamentalsData StructuresMapReduce
0 likes · 11 min read
Why Algorithms Matter More Than Learning Every New Programming Language
21CTO
21CTO
Mar 30, 2016 · Fundamentals

Choosing the Right Hash Algorithm: Thomas Wang vs. MurmurHash

This article explains how to select appropriate hash functions for different key types, compares Thomas Wang's integer mix function with MurmurHash for strings, and details rehash strategies, load factor thresholds, and value storage structures in hash tables.

Data StructuresMurmurHashRehash
0 likes · 6 min read
Choosing the Right Hash Algorithm: Thomas Wang vs. MurmurHash
21CTO
21CTO
Mar 23, 2016 · Fundamentals

Master PHP Data Structures: Stack, Queue, and Min-Heap with SPL

This article explains the concept of heaps, especially min‑heaps, and demonstrates how PHP's SPL provides ready‑made implementations for stacks, queues, min‑heaps, and fixed‑size arrays with clear code examples.

Data StructuresPHPQueue
0 likes · 3 min read
Master PHP Data Structures: Stack, Queue, and Min-Heap with SPL
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2016 · Fundamentals

Explore 8 Essential Sorting Algorithms and Their Trade‑offs

This article introduces eight fundamental internal sorting algorithms—Insertion, Shell, Selection, Bubble, Merge, Quick, Heap, and Radix—explaining their principles, step‑by‑step procedures, time and space complexities, and stability characteristics to help readers choose the right method for different data sets.

Data StructuresSorting AlgorithmsStability
0 likes · 14 min read
Explore 8 Essential Sorting Algorithms and Their Trade‑offs
Qunar Tech Salon
Qunar Tech Salon
Jan 22, 2016 · Fundamentals

My Journey Learning Data Structures and Algorithms

The article recounts the author's seven‑year path learning data structures and algorithms, from neglect in college to self‑study, book recommendations, internships at Microsoft and Baidu, projects such as a T‑SQL parser and a pinyin index, and reflections on the importance of algorithms.

AlgorithmsData StructuresInterview Preparation
0 likes · 19 min read
My Journey Learning Data Structures and Algorithms
21CTO
21CTO
Jan 19, 2016 · Fundamentals

From Zero to Mastery: My Journey Learning Data Structures & Algorithms

This article chronicles the author's seven‑year evolution from a disinterested student to a seasoned developer, detailing study plans, key algorithm and data‑structure books, internship experiences, custom parsers, performance‑critical mobile features, and the indispensable role of algorithms for serious programmers.

AlgorithmsData StructuresLearning
0 likes · 20 min read
From Zero to Mastery: My Journey Learning Data Structures & Algorithms
Qunar Tech Salon
Qunar Tech Salon
Dec 5, 2015 · Fundamentals

Why Learning Data Structures and Algorithms Makes You a Better Developer

This article explains how mastering data structures and algorithm analysis provides a problem‑solving mindset, covering fundamental concepts, Dijkstra’s shortest‑path algorithm, topological sorting for dependency resolution, and Huffman coding for data compression, illustrating their broad impact on software development.

AlgorithmsData StructuresDijkstra
0 likes · 19 min read
Why Learning Data Structures and Algorithms Makes You a Better Developer
21CTO
21CTO
Oct 10, 2015 · Fundamentals

Effective Ways to Study Algorithms: Books, Videos, and Practice Tips

This article compiles practical advice on learning algorithms, recommending beginner‑friendly books, video courses, coding exercises, and optimization tricks while explaining why certain resources like Sedgewick's Algorithms and Princeton's Coursera lectures can be more approachable than the traditional "Introduction to Algorithms".

AlgorithmsData StructuresLearning Resources
0 likes · 11 min read
Effective Ways to Study Algorithms: Books, Videos, and Practice Tips
21CTO
21CTO
Sep 24, 2015 · Fundamentals

From Zero to Algorithm Mastery: My 7‑Year Journey and Lessons Learned

The author chronicles a seven‑year evolution from a clueless undergraduate to a seasoned programmer, detailing the books, courses, internships, and personal projects that shaped his understanding of data structures and algorithms, while debating the practical value of algorithmic knowledge in software development.

AlgorithmsData StructuresLearning Resources
0 likes · 19 min read
From Zero to Algorithm Mastery: My 7‑Year Journey and Lessons Learned
Qunar Tech Salon
Qunar Tech Salon
Jun 3, 2015 · Fundamentals

Understanding HashMap ConcurrentModificationException and Using ConcurrentHashMap in Java

This article explains why iterating and removing entries from a HashMap throws ConcurrentModificationException, describes the internal iterator mechanism, and provides correct solutions using an Iterator or replacing HashMap with ConcurrentHashMap, including detailed explanations of ConcurrentHashMap's structure and its get, put, remove, size, and iteration implementations.

CollectionsConcurrentHashMapConcurrentModificationException
0 likes · 11 min read
Understanding HashMap ConcurrentModificationException and Using ConcurrentHashMap in Java
Qunar Tech Salon
Qunar Tech Salon
Nov 25, 2014 · Fundamentals

Guava Immutable Collections and Advanced Collection Types Overview

This article explains why immutable collections improve safety and performance, how to create them with Guava's copyOf, of, and Builder methods, and introduces Guava's extended collection types such as Multiset, Multimap, BiMap, Table, ClassToInstanceMap, RangeSet, and RangeMap with usage examples.

Data StructuresGuavaImmutable Collections
0 likes · 16 min read
Guava Immutable Collections and Advanced Collection Types Overview
MaGe Linux Operations
MaGe Linux Operations
Sep 11, 2014 · Databases

When to Use Each Redis Data Structure: Real‑World Scenarios Explained

This article reviews the five core Redis data structures—String, Hash, List, Set, and Sorted Set—detailing practical use‑cases such as caching, user profile storage, timelines, message queues, social graphs, and weighted rankings, plus a look at Pub/Sub and transaction features.

CachingData StructuresIn-Memory Database
0 likes · 7 min read
When to Use Each Redis Data Structure: Real‑World Scenarios Explained