Open In App

Infosys Interview Experience | Hackwithinfy

Last Updated : 04 Mar, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

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.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads