Additional Number
CodeChefOpen on judge ↗
You are given two integer arrays $-$ $A$ and $B$. The first array has $N$ elements, and the second array has $N+1$ elements. The second array ($B$) contains all the elements of the first array ($A$) (not necessarily the same order) and **1 additional element**. You need to find the additional element present in $B$. ### Input - First line contains an integer $N$, length of $A$ - Second line con
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start