Yantriks India Pvt Ltd Interview Experience | 2020 February – IIIT Jabalpur

Round 1: Online Coding Assessment

This round is conducted on the HackerEarth platform. There were 3 coding questions and 1 Java project question. The time limit is 2 hrs.

Java Project question – Implement Single Inheritance, Multiple Inheritance, Multi-level Inheritance, and Hierarchal Inheritance.

Coding question 1: Profit maximization

You have to travel to different villages to make some profit.
In each village, you gain some profit. But the catch is, from a particular village i, you can only move to a village j if and only if i<j and the profit gain from village j is a multiple of the profit gain from village i.



You have to tell the maximum profit you can gain while traveling.

Coding question 2: Coin distribution problem

What is the number of ways to distribute N coins among M people, when each person can only have a maximum of C coins?

Coding question 3: Database cleanup (java)

Round 2: Face 2 face round 1

  1. Print reverse of a Linked List without actually reversing.
  2. Explain the difference between Interface and Abstract class
  3. Explain Polymorphism

Round 3: Face 2 face round 2

  1. Given two strings s1 and s2 as inputs. Find whether the string s2 is a rotation of string s1 or not.

Example:  s1=”cat”   s2=”tca”   output – true   reason – rotation at index 2

s1=”dog”  s2=”dga”  output – false  reason – no rotation

2. Find min and max in an array with less than 2N operations given that N is the number of elements in the array.

Write your Interview Experience or mail it to contribute@geeksforgeeks.org

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 contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. 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.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.