Tag

Duplicate Removal

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
May 23, 2025 · Backend Development

Understanding and Using PHP's array_unique() Function

This article explains the PHP array_unique() function, covering its definition, parameters, implementation, usage examples, and performance optimization techniques to efficiently remove duplicate values from arrays.

Duplicate RemovalPHParray_unique
0 likes · 4 min read
Understanding and Using PHP's array_unique() Function
php中文网 Courses
php中文网 Courses
Dec 24, 2024 · Backend Development

Using PHP's array_unique() Function to Remove Duplicate Array Elements

This article explains PHP's array_unique() function, detailing its syntax, parameters, and return value, and provides clear examples showing how to remove duplicate elements from arrays and optionally sort them using the $sort_flag parameter.

Duplicate RemovalPHParray_unique
0 likes · 4 min read
Using PHP's array_unique() Function to Remove Duplicate Array Elements
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.

Duplicate RemovalPHParray_unique
0 likes · 4 min read
Using PHP array_unique() to Remove Duplicate Elements
php中文网 Courses
php中文网 Courses
Aug 1, 2024 · Backend Development

Understanding PHP's array_unique() Function: Definition, Implementation, Usage, and Performance Optimization

This article explains PHP's array_unique() function, covering its definition, parameters, implementation logic, practical usage examples, and performance enhancements using array_flip(), providing clear code snippets and detailed explanations to efficiently remove duplicate values from arrays and improve execution speed in real-world applications.

Duplicate RemovalPHParray_unique
0 likes · 4 min read
Understanding PHP's array_unique() Function: Definition, Implementation, Usage, and Performance Optimization
php中文网 Courses
php中文网 Courses
Mar 28, 2024 · Backend Development

Using PHP’s array_unique() Function to Remove Duplicate Elements and Sort Arrays

This article explains how PHP's built‑in array_unique() function can be used to eliminate duplicate values from one‑dimensional arrays, optionally sort the results with different flags, and provides clear code examples illustrating both deduplication and sorting behaviors.

Duplicate RemovalPHParray_unique
0 likes · 4 min read
Using PHP’s array_unique() Function to Remove Duplicate Elements and Sort Arrays
Architecture Digest
Architecture Digest
Sep 19, 2023 · Fundamentals

Various Ways to Remove Duplicates from a List in Java Using Set Implementations and Streams

This article demonstrates six different techniques for eliminating duplicate elements from a Java List, including HashSet, TreeSet, LinkedHashSet, iterator-based removal, Stream distinct, and manual contains checks, each with complete code examples and output illustrations.

Duplicate RemovalHashSetJava
0 likes · 7 min read
Various Ways to Remove Duplicates from a List in Java Using Set Implementations and Streams
Laravel Tech Community
Laravel Tech Community
Mar 29, 2022 · Databases

Efficient Methods for Removing Duplicate Records in MySQL Tables

This article explains why a naïve Python‑based row‑deletion approach is slow for large MySQL tables and provides step‑by‑step SQL techniques—including identifying duplicate names, handling MySQL’s update‑from‑same‑table limitation, and deleting duplicates while preserving a single record per group—complete with executable code examples.

Database OptimizationDuplicate RemovalMySQL
0 likes · 5 min read
Efficient Methods for Removing Duplicate Records in MySQL Tables
Laravel Tech Community
Laravel Tech Community
Sep 10, 2021 · Databases

How to Remove Duplicate Records in MySQL Tables

This article explains why duplicate rows appeared in production MySQL tables, demonstrates how to identify them with SELECT queries, and provides two SQL solutions—one to delete all duplicates and another to keep a single record per duplicated key—while preserving data integrity.

Database CleanupDuplicate RemovalMySQL
0 likes · 5 min read
How to Remove Duplicate Records in MySQL Tables
Architect's Tech Stack
Architect's Tech Stack
Jul 26, 2021 · Databases

Efficient Methods to Remove Duplicate Rows in MySQL Tables

This article explains how to identify and delete duplicate records in large MySQL tables, discusses why a naïve delete fails, and provides two robust SQL solutions—one that removes all duplicates and another that retains a single row per duplicated key—demonstrating fast execution even on tables with hundreds of thousands of rows.

Duplicate RemovalMySQLSQL
0 likes · 5 min read
Efficient Methods to Remove Duplicate Rows in MySQL Tables
Python Programming Learning Circle
Python Programming Learning Circle
Jul 20, 2021 · Databases

Removing Duplicate Data in MySQL and Keeping Only One Record

This article describes how to identify and delete duplicate rows in MySQL tables—first showing a naive Python‑based approach, then presenting efficient SQL queries that locate duplicate names, explain MySQL's limitation on deleting from the same table being queried, and provide a safe sub‑query solution to remove all duplicates while preserving a single representative row.

Duplicate RemovalSQLdata cleaning
0 likes · 6 min read
Removing Duplicate Data in MySQL and Keeping Only One Record
Architecture Digest
Architecture Digest
Apr 16, 2021 · Backend Development

Five Methods to Remove Duplicates from a Java ArrayList

This article presents five distinct techniques for eliminating duplicate elements from a Java ArrayList, including using LinkedHashSet, Java 8 Stream distinct, HashSet with order preservation, manual contains checks, and a double‑for‑loop approach, each accompanied by complete code examples and output results.

ArrayListDuplicate RemovalHashSet
0 likes · 6 min read
Five Methods to Remove Duplicates from a Java ArrayList
Top Architect
Top Architect
Jan 29, 2021 · Fundamentals

Five Ways to Remove Duplicates from a Java ArrayList

This article presents five distinct methods for eliminating duplicate elements from a Java ArrayList, including using LinkedHashSet, Java 8 streams, HashSet with order preservation, manual iteration with contains checks, and nested loops, each accompanied by complete code examples and output results.

ArrayListDuplicate RemovalHashSet
0 likes · 6 min read
Five Ways to Remove Duplicates from a Java ArrayList
Python Programming Learning Circle
Python Programming Learning Circle
Mar 20, 2020 · Fundamentals

Data Cleaning with Python: Removing Duplicates, Blank Rows, and Formatting Dates and Numbers

This tutorial demonstrates how to use Python and pandas to clean Excel data by removing duplicate and empty rows, stripping spaces, reformatting date strings, and standardising numeric values with two‑decimal precision and currency symbols, providing complete code examples for each step.

Duplicate RemovalExcelNumber Formatting
0 likes · 11 min read
Data Cleaning with Python: Removing Duplicates, Blank Rows, and Formatting Dates and Numbers