Infosys Interview Experience | Hackwithinfy
IT was held at HackerEarth. The test is for 2021 batch students across India.
Round 1 consists of 3 questions for 3 hour at a schedule slot by HackerEarth.
1 question was from array.
Given a two array consist of 0 and 1
It can perform two operations:
- You can change 0 to 1 or 1 to 0.
- Swap the numbers
Output: We have to do a minimum operation to make two arrays equal.
2. It was number theory.
You have given a digit N
You have to make N length of digit palindromic and also to take that number which is divisible by 9.
Then find the sum of those numbers.
Output: Print the Sum.
3. It was from the array.
You have given an array. And also you have given l1, r1, l2, r2
You need to find the pair of indices of value in the array. When both values are equal.
My Personal Notes arrow_drop_up
Please Login to comment...