Question: Single File Programming Question Given an unsorted array Arr of size N of positive integers. One number ' A ' from set { 1 ,
Single File Programming Question
Given an unsorted array Arr of size of positive integers. One number from set dots, is missing and one number occurs twice in array. Find these two numbers.
Input format :
The first line of input consists of integers.
The Second line of input consists number of Space separated integers.
Output format :
The output displays a integer of missing number and repeated number separated by line.
Refer to the sample input and output format for formatting specifications.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
