In this post, we will solve **Basics of Sets and Relations #2 HackerRank Solution**. This problem **(Basics of Sets and Relations #2)** is a part of **HackerRank Databases** series.

**Task**

You are given two sets.

Set **A** = {1,2,3,4,5,6}

Set **B** = {2,3,4,5,6,7,8}

How many elements are present in ** A ⋂ B**?

Only enter the correct integer in the answering box. Do not include any extra spaces, tabs or newlines.

**Solution – Basics of Sets and Relations #2 – HackerRank Solution**

5

**Note:** This problem **(Basics of Sets and Relations #2)** is generated by **HackerRank** but the solution is provided by **CodingBroz**. This tutorial is only for **Educational** and **Learning** purpose.