Tool to find common items in two lists. The operation of intersection of two lists consists in finding a set of all elements present in both list 1 and list 2.
Items in Common - dCode
Tag(s) : Data Processing
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
dCode detects items in the lists and display common points between the two sets (i.e. the elements present in both List 1 and List 2).
Example: List 1: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20 (list of even numbers)
List 2: 2, 3, 5, 7, 11, 13, 17, 19 (list of prime numbers)
Common item: 2
dCode also can detect différences between lists but also return statistical data such as precision and recall.
An intersection is the name given to the mathematical operation that identifies common items between two lists. It is a comparison set operator (from the set theory).
The equivalent of the intersection in the Boolean logic is the operator AND.
Example: A AND B is true only if A is true and B is true
It is common to represent the common elements with a Venn diagram (with 2 rings).
dCode retains ownership of the "Items in Common" source code. Any algorithm for the "Items in Common" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Items in Common" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Items in Common" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Items in Common" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Items in Common on dCode.fr [online website], retrieved on 2025-04-16,