Tagged articles
12 articles
Page 1 of 1
php Courses
php Courses
Jan 13, 2026 · Backend Development

How to Detect Duplicate Elements in a PHP Array in O(n) Time

This article explains how to determine whether an integer array contains any duplicate values using a PHP solution that leverages an associative map to achieve linear time and space complexity, complete with example inputs, detailed code walkthrough, and complexity analysis.

ArrayPHPalgorithm
0 likes · 4 min read
How to Detect Duplicate Elements in a PHP Array in O(n) Time
php Courses
php Courses
Jul 14, 2025 · Backend Development

Detect Duplicates in a PHP Array with an O(n) Solution

This article explains how to efficiently detect duplicate elements in a PHP integer array using an O(n) algorithm, detailing the solution class, step‑by‑step execution flow, and its linear time and space complexities.

array algorithmduplicate detectionspace complexity
0 likes · 4 min read
Detect Duplicates in a PHP Array with an O(n) Solution
php Courses
php Courses
Jun 4, 2025 · Backend Development

Detecting Duplicate Elements in an Array with PHP

This article explains how to determine whether an integer array contains any duplicate values using a PHP solution that iterates the array, stores seen elements in an associative map, and returns true on the first repeat, with O(n) time and space complexity.

ArrayPHPalgorithm
0 likes · 4 min read
Detecting Duplicate Elements in an Array with PHP
Ops Development & AI Practice
Ops Development & AI Practice
Jan 18, 2025 · Fundamentals

How to Find the Unique Number in O(n) Time Using XOR in Go

This article explains how to identify the single non‑repeating integer in a list where every other number appears twice, using an O(n) time and O(1) space XOR‑based algorithm, complete with Go code, step‑by‑step analysis, complexity discussion, and UML activity diagram.

Golangalgorithmspace complexity
0 likes · 6 min read
How to Find the Unique Number in O(n) Time Using XOR in Go
php Courses
php Courses
Jan 15, 2025 · Backend Development

Detecting Duplicate Elements in an Array with PHP

This article explains how to determine whether an integer array contains duplicate values by iterating through the elements, using a PHP associative array for constant‑time lookups, and provides the full solution code along with its execution flow, time and space complexity analysis.

ArrayPHPalgorithm
0 likes · 4 min read
Detecting Duplicate Elements in an Array with PHP
php Courses
php Courses
Nov 4, 2024 · Fundamentals

Detecting Duplicate Elements in an Array Using PHP

This article explains how to determine whether an integer array contains duplicate values by traversing the array with a PHP solution that uses an associative map, and it details the algorithm's execution flow, time and space complexity, and provides sample inputs and outputs.

PHPduplicate detectionspace complexity
0 likes · 4 min read
Detecting Duplicate Elements in an Array Using PHP
php Courses
php Courses
Jul 19, 2024 · Backend Development

PHP Solution for Detecting Duplicate Elements in an Integer Array

This article explains how to determine whether an integer array contains duplicate values by iterating through each element, using a PHP associative array to track occurrences, and returning true if any value appears at least twice, with detailed code, execution flow, and time‑space complexity analysis.

array algorithmduplicate detectionspace complexity
0 likes · 4 min read
PHP Solution for Detecting Duplicate Elements in an Integer Array
php Courses
php Courses
Mar 29, 2024 · Backend Development

Detecting Duplicate Elements in an Array Using PHP

This article explains how to determine whether an integer array contains duplicate values by iterating through each element, using a PHP class with a containsDuplicate method that employs an associative array for O(n) time and space complexity, and provides example inputs and detailed execution flow.

PHPduplicate detectionspace complexity
0 likes · 4 min read
Detecting Duplicate Elements in an Array Using PHP
FunTester
FunTester
Jun 11, 2021 · Fundamentals

Personal Reflections on Algorithms, Data Structures, and Complexity

This article shares the author’s personal insights on a book about algorithms, data structures, and complexity, explaining core concepts such as algorithm definition, common data structures, time and space complexity, and offering intuitive examples to aid understanding.

AlgorithmsData Structurescomplexity
0 likes · 12 min read
Personal Reflections on Algorithms, Data Structures, and Complexity
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 15, 2021 · Fundamentals

Mastering Algorithms: Definitions, Design Principles, and Complexity

This article introduces the core concepts of algorithms, covering their definition, five essential properties, design principles such as correctness and readability, methods for analyzing time and space complexity, common complexity classes, and a variety of algorithmic strategies including recursion, dynamic programming, greedy and divide‑and‑conquer techniques.

algorithmalgorithmic strategiescomplexity
0 likes · 23 min read
Mastering Algorithms: Definitions, Design Principles, and Complexity
Liangxu Linux
Liangxu Linux
May 31, 2020 · Fundamentals

Master the Top 10 Classic Sorting Algorithms with Code and Visualizations

This article systematically presents ten classic sorting algorithms—bubble, selection, insertion, quick, heap, merge, shell, counting, bucket, and radix—detailing their concepts, time and space complexities, step‑by‑step logic, animated illustrations, and complete source code examples in C++ and JavaScript.

C++Data StructuresJavaScript
0 likes · 19 min read
Master the Top 10 Classic Sorting Algorithms with Code and Visualizations