Tagged articles
136 articles
Page 1 of 2
php Courses
php Courses
Nov 17, 2025 · Backend Development

Master PHP’s array_multisort: Sort Multiple Arrays Efficiently

This guide explains the syntax, parameters, and practical usage of PHP’s array_multisort() function, showing how to sort several related arrays simultaneously with a concrete example that orders names and ages based on descending numeric scores.

BackendPHPSorting
0 likes · 4 min read
Master PHP’s array_multisort: Sort Multiple Arrays Efficiently
Code Wrench
Code Wrench
Sep 15, 2025 · Fundamentals

Master Go Maps: Deep Dive into Internals, Tricks, and Real-World Use Cases

This article explores Go's map type in depth, covering its underlying hash table mechanics, key requirements, concurrency considerations, and a comprehensive set of practical techniques—including existence checks, JSON conversion, sorting, slicing, multi-dimensional maps, and real-world examples for analytics and log processing.

GoJSONMAP
0 likes · 10 min read
Master Go Maps: Deep Dive into Internals, Tricks, and Real-World Use Cases
Java Architect Essentials
Java Architect Essentials
Sep 8, 2025 · Backend Development

Why Comparable Traps Your Java Sorting and How Comparator Saves the Day

This article explains the hidden pitfalls of using Java's Comparable for sorting, demonstrates how null handling and fragmented comparison logic can cause bugs, and shows how the flexible Comparator API together with chainable methods provides safer, more performant dynamic sorting solutions for constantly changing business requirements.

ComparableComparatorJava
0 likes · 7 min read
Why Comparable Traps Your Java Sorting and How Comparator Saves the Day
IT Services Circle
IT Services Circle
Jun 30, 2025 · Backend Development

What Makes Java Interviews Tough? A Deep Dive into Concurrency, JVM, MySQL, and More

This article analyzes 58.com’s recent business struggles and layoffs, then presents a comprehensive set of Java interview questions covering synchronized vs. Lock, JVM memory layout, garbage collection, TCP connection teardown, MySQL indexing pitfalls, and common sorting algorithms, providing detailed explanations and code examples.

JVMJavaNetworking
0 likes · 18 min read
What Makes Java Interviews Tough? A Deep Dive into Concurrency, JVM, MySQL, and More
Code Mala Tang
Code Mala Tang
Apr 27, 2025 · Fundamentals

Master Python’s Stable Sorting: Using sorted() with key and reverse

Python’s sorted() function offers stable sorting, allowing multi‑criteria ordering through successive sorts, while its flexible key parameter lets you customize sorting logic—such as sorting by length then alphabetically—and the reverse flag enables effortless descending order, making complex sorting tasks straightforward.

PythonSortingkey function
0 likes · 4 min read
Master Python’s Stable Sorting: Using sorted() with key and reverse
Python Programming Learning Circle
Python Programming Learning Circle
Feb 21, 2025 · Fundamentals

Comprehensive Overview of Common Sorting Algorithms with Python Implementations

This article provides a detailed introduction to common sorting algorithms—including bubble, selection, insertion, shell, merge, quick, heap, counting, bucket, and radix sorts—explaining their principles, time complexities, stability, and offering complete Python implementations with step-by-step explanations and visual demonstrations.

PythonSortingcomplexity
0 likes · 21 min read
Comprehensive Overview of Common Sorting Algorithms with Python Implementations
Liangxu Linux
Liangxu Linux
Jan 11, 2025 · Databases

Does VARCHAR Length Really Impact MySQL Storage and Query Performance?

This article investigates whether the length of VARCHAR columns in MySQL affects both the physical storage size of tables and the execution speed of various queries, revealing that storage remains unchanged while long VARCHARs can dramatically slow down full‑table sorts.

Sortingindexmysql
0 likes · 10 min read
Does VARCHAR Length Really Impact MySQL Storage and Query Performance?
php Courses
php Courses
Jan 10, 2025 · Backend Development

Using PHP's array_multisort() Function to Sort Multiple Arrays

This article explains the syntax and parameters of PHP's array_multisort() function, demonstrates its usage with a concrete example sorting names, ages, and scores, and shows the resulting ordered arrays, highlighting how to sort multiple arrays simultaneously.

BackendSortingarray_multisort
0 likes · 4 min read
Using PHP's array_multisort() Function to Sort Multiple Arrays
php Courses
php Courses
Nov 21, 2024 · Backend Development

How to Use PHP’s array_multisort() Function to Sort Multiple Arrays

This article explains the syntax and parameters of PHP’s array_multisort() function, demonstrates its usage with a practical example of sorting student names, ages, and scores, and shows the resulting output, highlighting how to sort multiple arrays simultaneously.

Code ExamplePHPSorting
0 likes · 5 min read
How to Use PHP’s array_multisort() Function to Sort Multiple Arrays
Python Crawling & Data Mining
Python Crawling & Data Mining
Nov 7, 2024 · Fundamentals

Sort a CSV by a Column in Descending Order with Pandas

This article demonstrates how to keep a CSV file's header unchanged while sorting its rows in descending order based on a specific column using Python's pandas library, providing step‑by‑step code, explanations, and sample output to help readers automate data processing tasks.

Sortingdata-analysis
0 likes · 4 min read
Sort a CSV by a Column in Descending Order with Pandas
php Courses
php Courses
Sep 24, 2024 · Backend Development

Using PHP array_multisort() to Sort Multiple Arrays

This article explains the PHP array_multisort() function, its syntax and parameters, and demonstrates how to sort several related arrays—such as names, ages, and scores—by a primary key using a concrete code example and the resulting output.

BackendPHP8Sorting
0 likes · 4 min read
Using PHP array_multisort() to Sort Multiple Arrays
Test Development Learning Exchange
Test Development Learning Exchange
Sep 21, 2024 · Fundamentals

Python List Operations: Sorting, Traversing, Deleting, Adding, Modifying, Indexing, and Basic List Functions

This tutorial demonstrates essential Python list operations, covering case‑sensitive and case‑insensitive sorting, reverse ordering, iteration with for and while loops, element removal by value or index, clearing, appending, inserting, extending, item modification, slicing, indexing, length checking, and mixed‑type lists, all illustrated with clear code examples.

CRUDListPython
0 likes · 5 min read
Python List Operations: Sorting, Traversing, Deleting, Adding, Modifying, Indexing, and Basic List Functions
Test Development Learning Exchange
Test Development Learning Exchange
Aug 25, 2024 · Fundamentals

Common Python List Operations: Sorting, Filtering, Searching, Merging, and More

This article demonstrates ten practical Python list techniques—including sorting by ID, filtering by condition, locating elements, removing items, merging lists, finding intersections and differences, converting to dictionaries, using list comprehensions, and deduplicating—each illustrated with clear code examples and expected output.

ListPythonSearching
0 likes · 6 min read
Common Python List Operations: Sorting, Filtering, Searching, Merging, and More
php Courses
php Courses
Aug 20, 2024 · Backend Development

Using PHP array_unique() to Remove Duplicate Elements

This article explains the PHP array_unique() function, its syntax and parameters, demonstrates how to remove duplicate values from arrays with practical code examples, and shows how the optional $sort_flag argument can affect sorting behavior.

BackendPHPSorting
0 likes · 4 min read
Using PHP array_unique() to Remove Duplicate Elements
Code Ape Tech Column
Code Ape Tech Column
Aug 15, 2024 · Backend Development

Comprehensive Guide to TreeUtil: Building, Traversing, Flattening, and Sorting Tree Structures in Java

This article presents a detailed walkthrough of the TreeUtil class, demonstrating how to construct hierarchical tree structures from flat lists, define tree nodes in Java, perform generic and functional implementations of makeTree, traverse trees using pre‑order, level‑order and post‑order methods, flatten trees back to lists, and sort tree nodes recursively, all illustrated with complete code examples.

DataStructureFlattenJava
0 likes · 16 min read
Comprehensive Guide to TreeUtil: Building, Traversing, Flattening, and Sorting Tree Structures in Java
php Courses
php Courses
Jul 23, 2024 · Backend Development

Using PHP’s array_multisort() Function to Sort Multiple Arrays

This article explains the syntax and parameters of PHP’s array_multisort() function, demonstrates its usage with a concrete example that sorts student names, ages, and scores, and shows the resulting output while highlighting important flags and usage tips.

Backend DevelopmentSortingTutorial
0 likes · 5 min read
Using PHP’s array_multisort() Function to Sort Multiple Arrays
Liangxu Linux
Liangxu Linux
Jul 21, 2024 · Operations

How to Sort IP Addresses with a Simple Shell Script

This guide walks through a real‑world operations scenario, showing how to write and run a Bash script that uses the sort command with numeric and field options to correctly order a list of IP addresses for easier log analysis and network troubleshooting.

AutomationIP addressLinux
0 likes · 4 min read
How to Sort IP Addresses with a Simple Shell Script
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
Ops Development & AI Practice
Ops Development & AI Practice
Jun 17, 2024 · Fundamentals

End‑to‑End vs Divide‑and‑Conquer: Which Algorithm Wins in Real‑World Scenarios?

This article compares end‑to‑end and divide‑and‑conquer algorithmic approaches, outlining their definitions, strengths, weaknesses, and ideal use‑cases, and illustrates the differences with concrete examples in image classification and sorting, helping developers choose the most suitable method for performance and reliability.

End-to-EndSortingalgorithm
0 likes · 7 min read
End‑to‑End vs Divide‑and‑Conquer: Which Algorithm Wins in Real‑World Scenarios?
Architect
Architect
May 1, 2024 · Fundamentals

Why ULID Beats UUID: A Deep Dive into Features, Specs, and Python Usage

This article compares UUID and ULID, explains the limitations of UUID versions, details ULID's timestamp‑based, lexicographically sortable design, presents its binary layout and encoding, and shows how to generate and manipulate ULIDs in Python with concrete code examples.

Distributed SystemsPythonSorting
0 likes · 8 min read
Why ULID Beats UUID: A Deep Dive into Features, Specs, and Python Usage
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
Su San Talks Tech
Su San Talks Tech
Apr 15, 2024 · Databases

Mastering MySQL ORDER BY: Full-Field vs RowID Sorting and Optimizations

This article explains how MySQL executes ORDER BY queries, the role of sort_buffer, the difference between full-field and rowid sorting, how parameters like sort_buffer_size and max_length_for_sort_data affect performance, and how proper indexing can eliminate the need for sorting altogether.

Index OptimizationOrder ByRowid
0 likes · 12 min read
Mastering MySQL ORDER BY: Full-Field vs RowID Sorting and Optimizations
Sohu Tech Products
Sohu Tech Products
Feb 21, 2024 · Backend Development

Sorting Image Filenames with Numbers in Elasticsearch: Script and Ingest‑Pipeline Solutions

The article explains how to sort image filenames containing numbers in Elasticsearch by either using a painless _script to extract the numeric part at query time or, more efficiently, by preprocessing filenames with an ingest pipeline that creates a numeric field for fast sorting, recommending the pipeline for performance‑critical use cases.

BackendElasticsearchIngest Pipeline
0 likes · 8 min read
Sorting Image Filenames with Numbers in Elasticsearch: Script and Ingest‑Pipeline Solutions
php Courses
php Courses
Feb 6, 2024 · Backend Development

How to Use PHP’s array_multisort() Function to Sort Multiple Arrays

This article explains the PHP array_multisort() function, detailing its syntax, parameter options, and a step‑by‑step example that sorts name, age, and score arrays, followed by the resulting output and a concise summary of its practical usage.

Code ExamplePHPSorting
0 likes · 4 min read
How to Use PHP’s array_multisort() Function to Sort Multiple Arrays
php Courses
php Courses
Feb 4, 2024 · Backend Development

Using PHP's array_multisort() Function to Sort Multiple Arrays

This article explains the syntax, parameters, and practical example of PHP's array_multisort() function, demonstrating how to sort multiple related arrays such as names, ages, and scores in a single operation.

SortingTutorialarray_multisort
0 likes · 4 min read
Using PHP's array_multisort() Function to Sort Multiple Arrays
Python Programming Learning Circle
Python Programming Learning Circle
Nov 28, 2023 · Fundamentals

15 Concise Python Tips for More Efficient Coding

This article presents fifteen practical Python techniques—including multi‑key sorting, data classes, list comprehensions, memory inspection, frequency analysis, dictionary merging, multiple return values, filter/map/zip usage, list reversal, element existence checks, flattening nested lists, and uniqueness verification—to help developers write cleaner, faster, and more readable code.

Data ClassesMAPMemory Usage
0 likes · 9 min read
15 Concise Python Tips for More Efficient Coding
Ops Development Stories
Ops Development Stories
Nov 10, 2023 · Backend Development

Master Java Stream API: Grouping, Sorting, Deduplication & More

This guide demonstrates essential Java Stream API techniques—including grouping collections into maps, extracting first entries, performing reductions to find max or min, converting streams to lists, sorting, removing duplicates, and a comprehensive list of frequently used stream operations—providing practical code examples for Java 11 and 17.

JavaSortingStream API
0 likes · 7 min read
Master Java Stream API: Grouping, Sorting, Deduplication & More
IT Services Circle
IT Services Circle
Sep 22, 2023 · Fundamentals

Overview of Common Data Structures and Algorithms

This article reviews essential data structures such as arrays, linked lists, stacks, queues, hash tables, and trees, explains their characteristics and trade‑offs, and introduces fundamental algorithm categories including sorting, searching, greedy, divide‑and‑conquer, and dynamic programming, with useful visualization links.

AlgorithmsArraysSorting
0 likes · 8 min read
Overview of Common Data Structures and Algorithms
php Courses
php Courses
Aug 11, 2023 · Backend Development

Using PHP krsort() to Reverse‑Sort Associative Arrays

This article explains the PHP krsort() function, its syntax, optional sorting flags, provides a step‑by‑step example of sorting an associative array in reverse order, discusses important considerations, and shows practical scenarios where reverse key sorting is useful in backend development.

Sortingassociative-arraykrsort
0 likes · 4 min read
Using PHP krsort() to Reverse‑Sort Associative Arrays
php Courses
php Courses
Aug 9, 2023 · Backend Development

Using PHP rsort() Function for Descending Array Sorting

This article explains PHP's rsort() function, its syntax, optional sort flags, and provides multiple code examples showing how to sort indexed, associative, and string arrays in descending order, including numeric and case‑insensitive options, helping developers efficiently handle array data.

Sortingarray-sortingphp-functions
0 likes · 4 min read
Using PHP rsort() Function for Descending Array Sorting
Python Programming Learning Circle
Python Programming Learning Circle
Jun 10, 2023 · Fundamentals

Advanced Pandas Operations: Complex Queries, Type Conversion, Sorting, Modification, Filtering, Iteration, and Function Application

This article provides a thorough walkthrough of advanced Pandas techniques—including complex logical queries, data‑type conversion, sorting, adding or modifying rows and columns, sophisticated filtering, iteration methods, and various function‑application utilities—complete with practical code examples for each operation.

PythonSortingdata analysis
0 likes · 17 min read
Advanced Pandas Operations: Complex Queries, Type Conversion, Sorting, Modification, Filtering, Iteration, and Function Application
Python Programming Learning Circle
Python Programming Learning Circle
May 4, 2023 · Big Data

Advanced Pandas Data Manipulation Techniques

This article provides a comprehensive guide to using Pandas for complex queries, data type conversion, sorting, adding and modifying data, advanced filtering, iteration, and functional operations, offering numerous code examples that illustrate how to efficiently clean, transform, and analyze tabular data in Python.

PythonSortingaggregation
0 likes · 14 min read
Advanced Pandas Data Manipulation Techniques
JavaEdge
JavaEdge
Jan 22, 2023 · Fundamentals

Designing a High‑Performance Sorting Function: Algorithms and Optimizations

This article examines how high‑performance sorting functions such as C's qsort() and Java's Collections.sort() are implemented, compares suitable algorithms, analyzes merge sort versus quicksort, and presents practical optimizations like median‑of‑three pivots, random pivots, recursion depth limits, and hybrid insertion sort.

CQuickSortSorting
0 likes · 7 min read
Designing a High‑Performance Sorting Function: Algorithms and Optimizations
Selected Java Interview Questions
Selected Java Interview Questions
Sep 13, 2022 · Big Data

Java API for Elasticsearch: Configuration, CRUD, DSL Queries, Pagination, Sorting, and Highlighting

This article demonstrates how to integrate Elasticsearch 6.2.1 with a Spring Boot project using the high‑level REST client, covering Maven dependencies, bean configuration, index creation and deletion, various DSL queries, pagination, sorting, boosting, boolean filters, and result highlighting with complete Java code examples.

DSLElasticsearchSearch
0 likes · 17 min read
Java API for Elasticsearch: Configuration, CRUD, DSL Queries, Pagination, Sorting, and Highlighting
Python Programming Learning Circle
Python Programming Learning Circle
Aug 31, 2022 · Fundamentals

Pandas Data Manipulation: Sorting, Selecting, Grouping, and Reshaping Techniques

This article provides a comprehensive, visual guide to essential Pandas operations—including sorting, column selection, grouping, multi‑aggregation, filtering, dropping, joining, merging, pivot tables, melting, stacking, unstacking, and index manipulation—illustrated with clear code examples for data analysis in Python.

PythonReshapingSorting
0 likes · 4 min read
Pandas Data Manipulation: Sorting, Selecting, Grouping, and Reshaping Techniques
IT Services Circle
IT Services Circle
Apr 11, 2022 · Fundamentals

Maximum Satisfaction (LeetCode 1402) – Greedy Algorithm Solution

This article explains the LeetCode 1402 problem of maximizing the total satisfaction score by arranging dishes, describes the greedy approach of sorting and using suffix sums, and provides a Java implementation that iteratively adds positive suffix sums to compute the optimal result.

JavaLeetCodeSorting
0 likes · 4 min read
Maximum Satisfaction (LeetCode 1402) – Greedy Algorithm Solution
ITPUB
ITPUB
Mar 23, 2022 · Databases

Optimizing Distributed Database Sorting: Memory, Disk, and Proxy Strategies

This article examines the architecture of distributed databases, identifies challenges in sorting large result sets across shards, and presents step-by-step memory‑based, disk‑based, and incremental proxy sorting techniques, including buffer sizing, priority‑queue merging, and trade‑offs to avoid OOM and excessive I/O.

Memory ManagementProxySorting
0 likes · 12 min read
Optimizing Distributed Database Sorting: Memory, Disk, and Proxy Strategies
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Mar 21, 2022 · Backend Development

Optimization of Local Vector Retrieval: Filtering, Storage, and Sorting Strategies

This article presents a comprehensive study of local vector retrieval optimization, covering memory‑based filtering techniques, Redis‑backed vector storage designs, and various sorting algorithms—including radix and heap‑based approaches—to achieve lower latency and higher throughput for large‑scale ad recommendation systems.

GolangSortingbackend optimization
0 likes · 13 min read
Optimization of Local Vector Retrieval: Filtering, Storage, and Sorting Strategies
IT Services Circle
IT Services Circle
Feb 22, 2022 · Fundamentals

Why Sorting an Array Speeds Up Summation: CPU Pipeline, Hazards, and Branch Prediction Explained

The article examines a puzzling StackOverflow case where sorting a random array before summation yields a six‑fold speedup, explains the phenomenon through CPU five‑stage pipeline fundamentals, structural, data, and control hazards, and shows how branch prediction and operand forwarding mitigate the performance loss.

CPUPipelineSorting
0 likes · 16 min read
Why Sorting an Array Speeds Up Summation: CPU Pipeline, Hazards, and Branch Prediction Explained
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.

BitmapCardinalityData Structures
0 likes · 11 min read
Choosing Appropriate Redis Data Structures for Large‑Scale Statistics: Cardinality, Sorting, and Aggregation
NiuNiu MaTe
NiuNiu MaTe
Dec 31, 2021 · Fundamentals

Master TopK: From Simple Sorts to Heap and QuickSelect Solutions

This article explains the TopK problem, compares sorting‑based O(nk) approaches with heap‑based O(n + k log n) and quick‑select O(n) methods, and provides complete Java implementations for each technique, helping readers ace interview questions on finding the largest K elements.

HeapSortingquickselect
0 likes · 13 min read
Master TopK: From Simple Sorts to Heap and QuickSelect Solutions
Python Programming Learning Circle
Python Programming Learning Circle
Sep 24, 2021 · Backend Development

Python Fundamentals, Concurrency, and Django Backend Development Essentials

This article provides a comprehensive overview of core Python concepts—including garbage collection, tuple versus list differences, process/thread/coroutine models, shallow and deep copying, the Global Interpreter Lock, sorting algorithms, closures, decorators, iterators, generators, and essential Django backend components such as WSGI, request lifecycle, middleware, ORM methods, caching, and REST framework.

BackendORMPython
0 likes · 18 min read
Python Fundamentals, Concurrency, and Django Backend Development Essentials
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 StructuresSorting
0 likes · 9 min read
10 Classic Algorithms That Shaped Modern Computing – From Sorting to Encryption
21CTO
21CTO
Sep 18, 2021 · Fundamentals

10 Essential Algorithms That Shaped Modern Computing

This article introduces ten foundational algorithms—from sorting and Fourier transforms to encryption and graph analysis—explaining their core principles, historical origins, and the pivotal roles they play in today’s software, security, and data processing systems.

AlgorithmsSignal ProcessingSorting
0 likes · 9 min read
10 Essential Algorithms That Shaped Modern Computing
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.

Data StructuresJavaSorting
0 likes · 8 min read
Heap Sort: Theory, Steps, and Java Implementation
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 15, 2021 · Frontend Development

Why Object.keys() Doesn’t Preserve Insertion Order: A Deep Dive into JavaScript Engine Sorting

This article investigates why JavaScript's Object.keys() may return keys in an unexpected order, explains the specification‑defined sorting rules for integer and string properties, demonstrates the issue with timestamp tags on iOS and Android, and explores the actual implementations in QuickJS and V8 engines.

JavaScriptObject.keysQuickJS
0 likes · 16 min read
Why Object.keys() Doesn’t Preserve Insertion Order: A Deep Dive into JavaScript Engine Sorting
政采云技术
政采云技术
Mar 2, 2021 · Fundamentals

Implementing a Binary Heap in JavaScript

This article explains the concepts of binary trees and binary heaps, describes their relationship, and provides a complete JavaScript implementation—including initialization, heapify, insertion, deletion, and sorting—illustrated with diagrams and runnable code examples.

JavaScriptSortingbinary heap
0 likes · 13 min read
Implementing a Binary Heap in JavaScript
Top Architect
Top Architect
Feb 12, 2021 · Fundamentals

Understanding Java's Comparable Interface and How to Implement It

This article explains the purpose of Java's Comparable interface, demonstrates sorting with built‑in classes like String, shows the failure when custom objects lack the interface, and provides a complete example of implementing Comparable to sort objects by a chosen field.

CollectionsComparableJava
0 likes · 8 min read
Understanding Java's Comparable Interface and How to Implement It
Laravel Tech Community
Laravel Tech Community
Dec 30, 2020 · Backend Development

PHP sort() Function – Sorting Arrays

This article explains the PHP sort() function, its signature, optional sorting flags, parameters, return values, and provides a complete example demonstrating how to sort an array of strings in ascending order and display the sorted results.

ArrayBackendPHP
0 likes · 2 min read
PHP sort() Function – Sorting Arrays
ITPUB
ITPUB
Dec 25, 2020 · Databases

Master MySQL Index Usage: When and How Queries Leverage Indexes

This article explains how MySQL decides whether an index can be used for range scans, LIKE patterns, and ORDER BY operations, detailing key_len calculation, index key vs. filter vs. table filter distinctions, and providing concrete examples and code snippets for better query optimization.

Range ScanSortingexplain
0 likes · 10 min read
Master MySQL Index Usage: When and How Queries Leverage Indexes
DataFunTalk
DataFunTalk
Dec 25, 2020 · Fundamentals

Curated Collection of Algorithm and Data Structure Problems with Solution Articles

This article compiles a comprehensive list of over 400 algorithm and data‑structure problem solutions—including dynamic programming, backtracking, DFS/BFS, binary‑tree, linked‑list, stack, sorting, searching and classic puzzles—organized by topic and linked to detailed explanations for easy reference.

AlgorithmsBacktrackingData Structures
0 likes · 9 min read
Curated Collection of Algorithm and Data Structure Problems with Solution Articles
Laravel Tech Community
Laravel Tech Community
Dec 23, 2020 · Backend Development

Using PHP's natsort() Function for Natural Order Array Sorting

This article explains PHP's natsort() function, which performs natural order sorting on arrays while preserving key/value associations, describes its parameters and return values, and provides a complete example comparing standard sorting with natural sorting to illustrate the differences in output.

ArrayBackendPHP
0 likes · 2 min read
Using PHP's natsort() Function for Natural Order Array Sorting
Laravel Tech Community
Laravel Tech Community
Dec 20, 2020 · Backend Development

Using ksort() to Sort Arrays by Key in PHP

This article explains the PHP ksort() function, which sorts an associative array by its keys while preserving key‑value relationships, describes its parameters and return values, and provides a complete example with code and expected output.

ArrayBackendPHP
0 likes · 2 min read
Using ksort() to Sort Arrays by Key in PHP
Laravel Tech Community
Laravel Tech Community
Oct 14, 2020 · Fundamentals

Ten Fundamental Algorithms: Sorting, Searching, Graph Traversal, and More

This article introduces ten essential algorithms—including Quick Sort, Heap Sort, Merge Sort, Binary Search, BFPRT, Depth‑First Search, Breadth‑First Search, Dijkstra's shortest‑path, Dynamic Programming, and Naive Bayes—explaining their principles, typical use cases, and step‑by‑step procedures.

AlgorithmsSearchSorting
0 likes · 12 min read
Ten Fundamental Algorithms: Sorting, Searching, Graph Traversal, and More
Liangxu Linux
Liangxu Linux
Oct 9, 2020 · Fundamentals

Master Interview‑Ready Algorithms & Data Structures with This Open‑Source Guide

This article introduces a popular open‑source repository that compiles essential algorithms and data‑structure concepts for technical interviews, providing concise definitions, time‑complexity analyses, and example code for structures such as stacks, queues, trees, graphs, and sorting algorithms, along with a GitHub link.

AlgorithmsData StructuresGitHub
0 likes · 9 min read
Master Interview‑Ready Algorithms & Data Structures with This Open‑Source Guide
Programmer DD
Programmer DD
Aug 19, 2020 · Fundamentals

Why Does Java’s Comparable Interface Matter? A Deep Dive with Code Examples

This article explains the purpose of Java's Comparable interface, demonstrates how built‑in classes like String use it for natural ordering, shows the failure when custom objects lack it, and provides a step‑by‑step guide to implementing Comparable with practical code samples.

CollectionsComparableInterface
0 likes · 9 min read
Why Does Java’s Comparable Interface Matter? A Deep Dive with Code Examples
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 12, 2020 · Fundamentals

Unlock Core Data Structures, Algorithms, and Sorting Basics

This article provides a comprehensive introduction to fundamental data structures, core algorithm concepts, and classic sorting techniques, explaining their definitions, basic operations, time and space complexities, stability considerations, and practical use cases for developers seeking to strengthen their programming foundations.

AlgorithmsData StructuresSorting
0 likes · 20 min read
Unlock Core Data Structures, Algorithms, and Sorting Basics
Liangxu Linux
Liangxu Linux
Jul 20, 2020 · Fundamentals

Essential Big O Cheat Sheet: Quick Reference for Algorithm Complexity

This article presents a concise Big O cheat sheet that aggregates the time‑complexity notations for common data structures, sorting algorithms, graph and heap operations, and visualizes performance curves, helping readers quickly recall best‑, worst‑, and average‑case scenarios.

Big OCheat SheetData Structures
0 likes · 3 min read
Essential Big O Cheat Sheet: Quick Reference for Algorithm Complexity
Python Programming Learning Circle
Python Programming Learning Circle
Jun 13, 2020 · Fundamentals

Python One‑Liner Tricks: Summation, List Deduplication, Comprehensions, Swapping, Sorting, Counting, Space Removal, Regex, Doubling, and Multiplication Table

This article presents a collection of concise Python one‑liner techniques covering integer summation, list deduplication, list comprehensions, value swapping, length‑based sorting, character counting, whitespace removal, Chinese character regex, element doubling, and generating a multiplication table, each illustrated with brief explanations and code snippets.

ListOne-linerPython
0 likes · 4 min read
Python One‑Liner Tricks: Summation, List Deduplication, Comprehensions, Swapping, Sorting, Counting, Space Removal, Regex, Doubling, and Multiplication Table
Laravel Tech Community
Laravel Tech Community
May 16, 2020 · Fundamentals

Master PHP Sorting Algorithms: Insertion, Selection, Bubble, Quick, Shell & More

This comprehensive guide walks through classic PHP sorting techniques—including insertion, selection, bubble, quick, and shell sorts—along with essential string utilities such as length calculation, reversal, comparison, substring search, replacement, insertion, deletion, copying, concatenation, simple encoding/decoding, and basic encryption/decryption, providing clear explanations and ready‑to‑run code examples for each algorithm.

AlgorithmsData StructuresPHP
0 likes · 15 min read
Master PHP Sorting Algorithms: Insertion, Selection, Bubble, Quick, Shell & More
Python Programming Learning Circle
Python Programming Learning Circle
May 9, 2020 · Fundamentals

Fish Division Puzzle and Classic Sorting Algorithms (Merge, Selection, Bubble) with Python Implementations

This article presents a combinatorial fish‑division puzzle solved by exhaustive search with Python code, followed by clear explanations and Python implementations of three fundamental sorting algorithms—merge sort, selection sort, and bubble sort—illustrating their core ideas and step‑by‑step processes.

PythonSortingalgorithm
0 likes · 5 min read
Fish Division Puzzle and Classic Sorting Algorithms (Merge, Selection, Bubble) with Python Implementations