Infosys Interview Experience | Hackwithinfy

Round 1: 

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:

  1. You can change 0 to 1 or 1 to 0.
  2. 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.

Write your Interview Experience or mail it to

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.