Tagged articles
89 articles
Page 1 of 1
Architect Chen
Architect Chen
Dec 28, 2025 · Fundamentals

Mastering Deep Copy in JavaScript: Why It Matters and How to Implement It

This article explains what deep copy is, why it is essential for avoiding side‑effects in mutable data structures, outlines its practical benefits such as safe snapshots and independent cloning of complex objects, and provides a complete JavaScript implementation that handles primitives, circular references, and special built‑in types.

Immutable DataRecursioncloning
0 likes · 4 min read
Mastering Deep Copy in JavaScript: Why It Matters and How to Implement It
php Courses
php Courses
Nov 4, 2025 · Backend Development

count() vs sizeof(): Which PHP Function Should You Use?

This article explains that PHP’s count() and sizeof() are interchangeable aliases, demonstrates their identical behavior with examples, discusses when to prefer one over the other, and shares performance, recursion, and object‑handling tips for backend developers.

ArrayPHPRecursion
0 likes · 4 min read
count() vs sizeof(): Which PHP Function Should You Use?
Model Perspective
Model Perspective
Oct 27, 2025 · Fundamentals

Recurrence vs Recursion: Master the Core Concepts Behind Algorithms

This article explains the definitions, mathematical foundations, classic examples, solving methods, and practical differences between recurrence relations and recursion, illustrating how each approach works, their implementation details, and how they can be transformed into one another.

Recursionalgorithm designalgorithm fundamentals
0 likes · 8 min read
Recurrence vs Recursion: Master the Core Concepts Behind Algorithms
Model Perspective
Model Perspective
Sep 11, 2025 · Fundamentals

Using Simple Math Models to Tackle Everyday Challenges

This article demonstrates how straightforward mathematical models—ranging from basic calculations for translation time, linear equations for shopping costs, linear programming for work‑life balance, recursive sequences for weight loss, to differential equations for team collaboration—can efficiently analyze and communicate everyday problems.

Recursioneveryday problemslinear equations
0 likes · 6 min read
Using Simple Math Models to Tackle Everyday Challenges
Liangxu Linux
Liangxu Linux
Sep 3, 2025 · Fundamentals

Can main() Recursively Call Itself? Limits, Risks, and Safer Alternatives

This article examines whether the C/C++ entry‑point function main can call itself recursively, outlines the relevant language standards, shows compiler support and example code, discusses practical limitations such as stack size and portability, and recommends safer programming patterns.

CC++Recursion
0 likes · 8 min read
Can main() Recursively Call Itself? Limits, Risks, and Safer Alternatives
php Courses
php Courses
Aug 27, 2025 · Backend Development

Master PHP’s array_replace_recursive: Recursive Array Merging Explained

This article explains PHP’s array_replace_recursive function, detailing its syntax, recursive merging behavior, key‑overriding rules, and differences from array_merge_recursive, accompanied by clear code examples and output to help developers efficiently combine multidimensional arrays.

PHPRecursionarray merge
0 likes · 4 min read
Master PHP’s array_replace_recursive: Recursive Array Merging Explained
Raymond Ops
Raymond Ops
Apr 24, 2025 · Fundamentals

Master Recursion: Classic Python Examples and Core Concepts

This article introduces recursion, explains its definition and key characteristics, and demonstrates classic Python examples such as factorial calculation, Fibonacci sequence generation, and binary search, helping readers grasp how recursion simplifies complex problems compared to iterative loops.

Binary SearchFibonacciPython
0 likes · 8 min read
Master Recursion: Classic Python Examples and Core Concepts
Java Captain
Java Captain
Apr 23, 2025 · Fundamentals

Understanding Recursion in Java: Concepts, Pros/Cons, and Practical Examples

This article explains the fundamentals of recursion in Java, covering its definition, advantages and disadvantages, differences from iteration, and provides practical examples such as traversing comment and department trees, along with code snippets, performance considerations, and improvement strategies using depth control and Stream API.

Code ExampleJavaRecursion
0 likes · 7 min read
Understanding Recursion in Java: Concepts, Pros/Cons, and Practical Examples
php Courses
php Courses
Apr 9, 2025 · Fundamentals

Pre-order Traversal in PHP: Recursive, Iterative, and Interactive Implementations

This article explains the concept of pre-order (root-left-right) tree traversal, demonstrates how to represent binary trees in PHP, provides recursive and stack‑based iterative implementations, and includes an interactive script that lets users build a tree and choose traversal methods, with full example code.

IterativePHPPre-order
0 likes · 9 min read
Pre-order Traversal in PHP: Recursive, Iterative, and Interactive Implementations
Code Mala Tang
Code Mala Tang
Mar 9, 2025 · Fundamentals

What Really Happens Inside Python When You Call a Function?

This article explains step by step how Python creates a function object, builds a call stack, handles parameters, executes the body, performs garbage collection, and manages recursion, illustrating each stage with clear code examples and diagrams.

Garbage CollectionParameter PassingPython
0 likes · 8 min read
What Really Happens Inside Python When You Call a Function?
IT Services Circle
IT Services Circle
Feb 1, 2025 · Fundamentals

Understanding Dynamic Programming through Staircase and Knapsack Examples

This article walks through the fundamentals of dynamic programming by illustrating how to solve a staircase climbing problem and a 0/1 knapsack problem, explaining optimal substructure, state transition equations, boundary conditions, and providing both recursive and iterative C++ implementations.

Recursionalgorithmdynamic programming
0 likes · 12 min read
Understanding Dynamic Programming through Staircase and Knapsack Examples
Model Perspective
Model Perspective
Jan 16, 2025 · Fundamentals

What Is Technology Really? Exploring Its Essence and Evolution

The article reflects on the true nature of technology, describing it as a dynamic, recursive creative system that evolves through combinatorial innovation, recursion, and the capture of natural phenomena, and illustrates these mechanisms with examples from mathematics modeling and historical technological breakthroughs.

InnovationModelingRecursion
0 likes · 6 min read
What Is Technology Really? Exploring Its Essence and Evolution
JD Tech Talk
JD Tech Talk
Jan 13, 2025 · Backend Development

Recursive Order Merging Algorithm for JD Logistics Inbound Service

This article describes the background, problem definition, recursive algorithm design, Java implementation, deduplication logic, performance considerations, and business impact of a SKU‑level order merging solution for JD Logistics' inbound-to-warehouse process.

BackendLogisticsRecursion
0 likes · 10 min read
Recursive Order Merging Algorithm for JD Logistics Inbound Service
Java Tech Enthusiast
Java Tech Enthusiast
Dec 12, 2024 · Fundamentals

LeetCode 814: Binary Tree Pruning

The article explains LeetCode 814, where a binary tree of 0s and 1s is pruned by recursively removing subtrees lacking a 1, using a post‑order traversal that returns null for nodes with value 0 and no retained children, achieving O(n) time and O(h) space.

CJavaLeetCode
0 likes · 6 min read
LeetCode 814: Binary Tree Pruning
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 11, 2024 · Fundamentals

Master the ‘Sum of Numbers Ignoring 6‑9 Sections’ Challenge in Python

This article walks through a Python list‑processing problem that requires summing numbers while skipping any segment that starts with a 6 and ends with the next 9, presenting multiple solution approaches—including index tricks, flag control, while loops, and recursion—to help readers understand and implement the algorithm effectively.

ListPythonRecursion
0 likes · 7 min read
Master the ‘Sum of Numbers Ignoring 6‑9 Sections’ Challenge in Python
Test Development Learning Exchange
Test Development Learning Exchange
Dec 3, 2024 · Fundamentals

10 Essential Python Recursion Techniques for Efficient and Safe Coding

This article presents ten practical Python recursion techniques—including base case identification, progressive convergence, tail‑recursion optimization, memoization, recursion depth management, generator usage, iterative alternatives, recursion‑tree visualization, hybrid approaches, and divide‑and‑conquer implementations—each illustrated with clear code examples to improve performance and avoid stack overflow.

Recursionmemoizationtail-recursion
0 likes · 7 min read
10 Essential Python Recursion Techniques for Efficient and Safe Coding
php Courses
php Courses
Nov 8, 2024 · Backend Development

Simulating Recursion in PHP Using Stacks, Loops, and Goto

This article explains how to replace recursive functions in PHP with stack‑based iteration, loop‑driven depth‑first tree traversal, and even a goto‑based approach, providing complete code examples and discussing the trade‑offs of each method.

GotoRecursionStack
0 likes · 7 min read
Simulating Recursion in PHP Using Stacks, Loops, and Goto
Liangxu Linux
Liangxu Linux
Nov 6, 2024 · Fundamentals

From Switches to Compilers: The Evolution of Programming Languages

This article traces how simple binary switches evolved into CPUs, machine code, assembly language, control‑flow constructs, recursion, syntax trees, and finally modern compilers that translate human‑readable code into executable instructions.

AssemblyRecursioncompilers
0 likes · 12 min read
From Switches to Compilers: The Evolution of Programming Languages
php Courses
php Courses
Aug 5, 2024 · Backend Development

Using PHP's array_replace_recursive() Function to Recursively Merge Arrays

This article explains PHP's array_replace_recursive() function, detailing its syntax, recursive merging behavior, example usage with code, output interpretation, important considerations, and compares it with array_merge_recursive() for effective backend array handling in PHP development.

ArrayBackendPHP
0 likes · 4 min read
Using PHP's array_replace_recursive() Function to Recursively Merge Arrays
Java Tech Enthusiast
Java Tech Enthusiast
Jul 26, 2024 · Fundamentals

From Binary to High-Level Languages: The Origin of Compilers and Recursion

From raw binary on punched tape to mnemonic assembly and then to high‑level constructs like if, while, and functions, programmers created recursive grammars that compile source code into abstract syntax trees, which a compiler translates back into machine instructions, illustrating how recursion underpins both programming language design and computation.

CPUProgramming LanguageRecursion
0 likes · 11 min read
From Binary to High-Level Languages: The Origin of Compilers and Recursion
MaGe Linux Operations
MaGe Linux Operations
Jul 12, 2024 · Fundamentals

Mastering Recursion: Classic Examples and How They Simplify Complex Problems

Recursion, a programming technique where a function calls itself, can elegantly solve problems like factorials, Fibonacci sequences, and binary search, and this article explains its definition, key concepts, characteristics, and provides clear Python examples to deepen understanding of this fundamental algorithmic approach.

Recursionalgorithmexamples
0 likes · 8 min read
Mastering Recursion: Classic Examples and How They Simplify Complex Problems
php Courses
php Courses
Jun 28, 2024 · Backend Development

Using PHP's array_replace_recursive() Function to Merge Arrays Recursively

This article explains the PHP array_replace_recursive() function, its syntax, recursive merging behavior, example usage with code snippets, output interpretation, important considerations, and a comparison with array_merge_recursive() for effective backend array handling.

BackendPHPRecursion
0 likes · 4 min read
Using PHP's array_replace_recursive() Function to Merge Arrays Recursively
php Courses
php Courses
May 23, 2024 · Fundamentals

Fast Multiplication of Large Integers Using PHP GMP Library

This article explains how to use PHP's GMP extension to perform fast multiplication of very large integers by applying a divide‑and‑conquer algorithm that reduces the computational complexity and provides a complete PHP implementation.

GMPPHPRecursion
0 likes · 5 min read
Fast Multiplication of Large Integers Using PHP GMP Library
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 18, 2024 · Operations

How to Recursively Unzip Nested ZIP Files with Python

This article walks through a Python solution for automatically extracting multiple nested ZIP archives, providing a complete script that recursively unpacks zip files, explains the logic, and offers tips for sharing code and handling large data files in automation workflows.

RecursionScriptingUnzip
0 likes · 4 min read
How to Recursively Unzip Nested ZIP Files with Python
php Courses
php Courses
Feb 7, 2024 · Backend Development

Using PHP's array_replace_recursive() Function to Merge Arrays Recursively

This article explains PHP's array_replace_recursive() function, detailing its syntax, recursive merging behavior, example usage with code snippets, output interpretation, and important considerations such as key overwriting and differences from array_merge_recursive(), providing developers with a practical guide for combining arrays.

ArrayRecursionphp-functions
0 likes · 4 min read
Using PHP's array_replace_recursive() Function to Merge Arrays Recursively
php Courses
php Courses
Jan 27, 2024 · Backend Development

Understanding PHP's array_merge_recursive() Function

This article explains the PHP array_merge_recursive() function, its syntax, parameters, return values, usage examples with code, and important considerations when merging multidimensional arrays, highlighting how duplicate keys are combined into arrays.

ArrayBackendRecursion
0 likes · 4 min read
Understanding PHP's array_merge_recursive() Function
Deepin Linux
Deepin Linux
Dec 3, 2023 · Fundamentals

Comprehensive Guide to Common C Language Interview Questions and Concepts

This article provides a thorough overview of essential C language concepts frequently asked in interviews, covering topics such as language basics, keywords, variables, pointers, arrays, memory management, functions, recursion, data structures, preprocessor directives, and practical code examples to help readers master high‑frequency C interview questions.

C programmingInterview PreparationRecursion
0 likes · 70 min read
Comprehensive Guide to Common C Language Interview Questions and Concepts
MaGe Linux Operations
MaGe Linux Operations
Nov 25, 2023 · Fundamentals

How DNS Caching, Recursion, and Iteration Really Work

This article explains the DNS caching strategy, the difference between recursive and iterative queries, and how resolvers and authoritative servers cooperate to translate hostnames into IP addresses while optimizing network resources.

DNSRecursioncaching
0 likes · 4 min read
How DNS Caching, Recursion, and Iteration Really Work
IT Architects Alliance
IT Architects Alliance
Jun 15, 2022 · Fundamentals

Mastering Algorithm Strategies: From Greedy to Dynamic Programming

This article provides a comprehensive overview of fourteen algorithmic strategies—including greedy, recurrence, recursion, enumeration, backtracking, divide‑and‑conquer, and dynamic programming—explaining their characteristics, typical use cases, inter‑relationships, and the types of problems each approach best addresses.

AlgorithmsRecursiondivide and conquer
0 likes · 9 min read
Mastering Algorithm Strategies: From Greedy to Dynamic Programming
Architect's Journey
Architect's Journey
May 12, 2022 · Fundamentals

Dynamic Programming Made Simple: Divide‑and‑Conquer and Redundancy Elimination

The article explains that dynamic programming boils down to two core ideas—treating problems as a set of independent sub‑problems via divide‑and‑conquer and using memoization to avoid redundant calculations—illustrated with analogies to business management and contrasted with plain recursion.

RecursionSoftware Engineeringalgorithm fundamentals
0 likes · 6 min read
Dynamic Programming Made Simple: Divide‑and‑Conquer and Redundancy Elimination
Java Captain
Java Captain
Mar 12, 2022 · Backend Development

Building a Tree Structure from a Flat List Using Java 8 Streams

This article demonstrates how to retrieve flat menu data from a database into a List, then use Java 8 Stream operations and recursive methods to assemble a hierarchical tree structure, printing the result as JSON for verification.

BackendJavaRecursion
0 likes · 4 min read
Building a Tree Structure from a Flat List Using Java 8 Streams
Python Programming Learning Circle
Python Programming Learning Circle
Jun 24, 2021 · Fundamentals

Understanding Functional Programming in Python: Concepts, Examples, and Techniques

This article explains functional programming concepts in Python, contrasting imperative and functional models, and demonstrates key techniques such as recursion, laziness, map, filter, reduce, lambda expressions, higher‑order functions, partial application, and comprehensions with clear code examples.

Higher-Order FunctionsLambdaMAP
0 likes · 15 min read
Understanding Functional Programming in Python: Concepts, Examples, and Techniques
NiuNiu MaTe
NiuNiu MaTe
May 28, 2021 · Fundamentals

How to Win the Apple‑Picking Game: Recursive and DP Strategies Explained

This article walks through the classic “pick‑from‑both‑ends” apple game, analyzing why greedy choices fail, and presents recursive, memoized, and dynamic‑programming solutions in Go, complete with code examples and step‑by‑step explanations to help you determine the winning strategy.

Game TheoryRecursionalgorithm
0 likes · 8 min read
How to Win the Apple‑Picking Game: Recursive and DP Strategies Explained
MaGe Linux Operations
MaGe Linux Operations
May 19, 2021 · Fundamentals

Python Variable Scope, References, Lambdas & Recursion Explained

This article explains the differences between local and global variables in Python, how to modify globals with the global keyword, the behavior of mutable and immutable objects, demonstrates variable scope with code examples, and also covers references, lambda anonymous functions, and recursive implementations such as factorial calculations.

LambdaPythonRecursion
0 likes · 6 min read
Python Variable Scope, References, Lambdas & Recursion Explained
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 19, 2021 · Fundamentals

Master Optimal Algorithms: Recursion, Greedy, Divide-Conquer, DP & Backtracking

This comprehensive guide explores core algorithmic strategies for finding optimal solutions—including recursion, greedy methods, divide-and-conquer, dynamic programming, backtracking, and branch-and-bound—explaining their principles, use-cases, and providing concrete Java and C++ code examples to illustrate implementation details.

AlgorithmsBacktrackingRecursion
0 likes · 54 min read
Master Optimal Algorithms: Recursion, Greedy, Divide-Conquer, DP & Backtracking
ZhiKe AI
ZhiKe AI
May 8, 2021 · Fundamentals

A Reusable Java Utility for Building Tree Structures

This article shares a generic Java utility class that recursively constructs hierarchical tree structures from a flat list by using functional interfaces to identify parent‑child relationships, optionally sorting nodes, and providing a flexible way to set child collections.

CollectionsGenericsJava
0 likes · 4 min read
A Reusable Java Utility for Building Tree Structures
ITPUB
ITPUB
Mar 25, 2021 · Fundamentals

From Switches to Compilers: How Simple Logic Became Modern Programming

The article traces the evolution from primitive CPU operations expressed as binary switches, through the birth of assembly language and low‑level patterns, to the abstraction of recursion, syntax trees, and compilers that translate human‑readable code into machine instructions.

AssemblyRecursioncompiler
0 likes · 11 min read
From Switches to Compilers: How Simple Logic Became Modern Programming
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 23, 2020 · Fundamentals

Understanding Recursion: Concepts, Complexity Analysis, and Practical Examples

This article introduces recursion, explains its core principles, presents a general problem‑solving approach, and walks through multiple practical examples—from factorial and climbing stairs to binary tree inversion and the Tower of Hanoi—while analyzing time and space complexities and offering optimization techniques.

JavaRecursionalgorithm
0 likes · 23 min read
Understanding Recursion: Concepts, Complexity Analysis, and Practical Examples
php Courses
php Courses
Nov 4, 2020 · Fundamentals

Various Methods to Compute the Nth Fibonacci Number in PHP

This article introduces the Fibonacci sequence, explains its definition, and presents six PHP implementations—including naive recursion, memoized recursion, bottom‑up iteration, iterative loop, closed‑form formula, and a lookup table—detailing their logic and performance considerations.

FibonacciPHPRecursion
0 likes · 6 min read
Various Methods to Compute the Nth Fibonacci Number in PHP
MaGe Linux Operations
MaGe Linux Operations
Mar 23, 2020 · Fundamentals

How to Reverse a Number into a List Using Recursion in Python

This article explains how to transform a number like 1234 into a reversed list of its digits using both a straightforward string method and two recursive implementations—standard and tail recursion—while noting Python's general preference for iterative solutions.

ListRecursionalgorithm
0 likes · 2 min read
How to Reverse a Number into a List Using Recursion in Python
Senior Brother's Insights
Senior Brother's Insights
Dec 21, 2019 · Fundamentals

Master Recursion: From Basics to Advanced Techniques with Time‑Complexity Insights

This article explains the concept of recursion, presents a universal four‑step solving method, and walks through multiple practical examples—from factorials and frog‑jump problems to binary‑tree inversion, Tower of Hanoi, and cellular division—while detailing time and space complexity analyses and optimization strategies.

Recursionbinary treedynamic programming
0 likes · 22 min read
Master Recursion: From Basics to Advanced Techniques with Time‑Complexity Insights
Youzan Coder
Youzan Coder
Nov 15, 2019 · Fundamentals

Functions as Data Transformations: Recursion, Tail Calls, and Efficient Exponentiation & Fibonacci Implementations

The article treats functions as pure data‑to‑data mappings and demonstrates how common mathematical operations such as factorial, exponentiation, and Fibonacci can be expressed in TypeScript/JavaScript using recursive, tail‑recursive, iterative, and logarithmic‑time algorithms that illustrate functional transformation techniques and efficient algorithm design.

FibonacciRecursionalgorithm
0 likes · 8 min read
Functions as Data Transformations: Recursion, Tail Calls, and Efficient Exponentiation & Fibonacci Implementations
FunTester
FunTester
Sep 16, 2019 · Fundamentals

Finding Twin Primes Using Recursive Filtering in Java

The article explains how to generate prime numbers with a recursive filtering method, identify twin primes below 10,000, and includes Java implementations of bubble sort and insertion sort, along with a brief commentary on Groovy's advantages and a curated list of related technical articles.

JavaPrime NumbersRecursion
0 likes · 5 min read
Finding Twin Primes Using Recursive Filtering in Java
FunTester
FunTester
Aug 26, 2019 · Fundamentals

How to Check If a Binary Tree Is Symmetric in O(n) Time

This article explains the symmetric‑tree problem, outlines a depth‑first recursive strategy with base‑case checks, demonstrates short‑circuit evaluation, analyzes time complexity, and provides a complete Java implementation that determines tree symmetry in linear time.

DFSJavaRecursion
0 likes · 3 min read
How to Check If a Binary Tree Is Symmetric in O(n) Time
Java Captain
Java Captain
Aug 13, 2019 · Fundamentals

Reversing a Singly Linked List in K‑Node Groups Starting from the Tail

The article explains how to solve a variant of the linked‑list reversal problem where every K nodes are reversed as a group starting from the tail, using recursion and double reversal techniques, and provides complete Java implementations for the algorithm.

Recursionalgorithmk-group reversal
0 likes · 7 min read
Reversing a Singly Linked List in K‑Node Groups Starting from the Tail
Java Captain
Java Captain
Mar 22, 2019 · Fundamentals

Understanding Recursion: Three Essential Elements and Practical Code Examples

This article introduces recursion by outlining its three essential elements—function purpose, base case, and recurrence relation—and demonstrates each step with clear Java/C examples such as factorial, Fibonacci, frog‑jump, and linked‑list reversal, while also covering common pitfalls and optimization techniques.

CData StructuresRecursion
0 likes · 15 min read
Understanding Recursion: Three Essential Elements and Practical Code Examples
Ops Development Stories
Ops Development Stories
Dec 29, 2018 · Fundamentals

Master Python Functions: From Basics to Advanced Techniques

This comprehensive guide explains Python functions—their purpose, definition syntax, scope rules, built‑in statements like def, return, global, nonlocal, and lambda, various argument types, recursion, higher‑order functions, and functional tools such as map, filter, and reduce—complete with runnable code examples.

LambdaRecursionarguments
0 likes · 20 min read
Master Python Functions: From Basics to Advanced Techniques
Java Captain
Java Captain
Dec 25, 2018 · Fundamentals

Common Algorithmic Techniques: Array Indexing, Modulo, Two‑Pointer, Bit‑Shift, Sentinel Nodes, and Recursion Optimizations

This article introduces several practical algorithmic tricks—using array indices as counters, applying modulo for circular traversal, employing two‑pointer methods for linked‑list problems, leveraging bit‑shift and bitwise operations, adding sentinel nodes, and optimizing recursive solutions with memoization and bottom‑up DP—each illustrated with Java code examples.

Data StructuresRecursionalgorithm
0 likes · 10 min read
Common Algorithmic Techniques: Array Indexing, Modulo, Two‑Pointer, Bit‑Shift, Sentinel Nodes, and Recursion Optimizations
21CTO
21CTO
Sep 17, 2018 · Fundamentals

Master Python Recursion: Limits, Pitfalls, and Practical Examples

This article explains how recursion works in Python, demonstrates factorial and list‑flattening implementations, shows how to check and adjust the language's recursion limit, and warns about infinite recursion errors with clear code samples.

Code ExamplesPythonRecursion
0 likes · 5 min read
Master Python Recursion: Limits, Pitfalls, and Practical Examples
21CTO
21CTO
Aug 27, 2018 · Fundamentals

Boost Recursive Algorithms with Memoization: A Practical Guide

Memoization, a dynamic programming technique introduced in 1968, stores results of recursive calls to eliminate redundant calculations, dramatically improving performance—as demonstrated by transforming a naïve O(2ⁿ) Fibonacci function into an O(n) version with simple code modifications and practical examples.

Algorithm OptimizationFibonacciRecursion
0 likes · 5 min read
Boost Recursive Algorithms with Memoization: A Practical Guide
MaGe Linux Operations
MaGe Linux Operations
Feb 1, 2018 · Fundamentals

Master Python Functions: From Basics to Advanced Parameter Tricks

This article provides a comprehensive guide to Python functions, covering basic definitions, various parameter types—including default, positional, keyword, variable arguments and keyword‑only parameters—common pitfalls, recursion, lambda expressions, and best practices for clean, reusable code.

LambdaPythonRecursion
0 likes · 14 min read
Master Python Functions: From Basics to Advanced Parameter Tricks
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 6, 2017 · Frontend Development

Mastering DOM Traversal and Sorting: Recursive & Non‑Recursive JavaScript Algorithms

This article explores how to implement recursive and non‑recursive DOM tree searches, hash‑based lookups, and several classic sorting algorithms—including quick sort and merge sort—in JavaScript, discussing their time and space complexities, stability considerations, and practical performance tips for front‑end development.

DOMRecursionSorting
0 likes · 20 min read
Mastering DOM Traversal and Sorting: Recursive & Non‑Recursive JavaScript Algorithms
MaGe Linux Operations
MaGe Linux Operations
May 31, 2017 · Artificial Intelligence

Can Python’s Minimax Reveal the Winning Strategy in Doudizhu?

This article explains how to use a Python implementation of the minimax algorithm to analyze a Doudizhu end‑game scenario, detailing the core logic, recursive hand simulation, caching optimizations, and the final result that the farmer side has no guaranteed winning strategy.

DoudizhuMiniMaxPython
0 likes · 6 min read
Can Python’s Minimax Reveal the Winning Strategy in Doudizhu?
21CTO
21CTO
Sep 1, 2015 · Fundamentals

What Movies Teach Programmers: 10 Films That Reveal Core Coding Concepts

This article curates a list of ten science‑fiction and thriller movies, each illustrating fundamental programming ideas such as recursion, loops, reentrancy, virtual machines, AI, and parallelism, helping developers see code concepts come alive on screen.

AIRecursionmovies
0 likes · 12 min read
What Movies Teach Programmers: 10 Films That Reveal Core Coding Concepts