Open in App
Not now

# Tekion Interview Experience | On-Campus 2021

• Difficulty Level : Medium
• Last Updated : 22 Sep, 2021

TEKION visited our college in August 2021. There were four rounds. Each round was an elimination round. All the rounds were conducted Virtually.

Round 1(Online Test and Coding Round): This round was hosted on the HackerEarth platform. It consisted of 18 MCQs and 2 coding problems. The duration was 75 minutes. MCQs were from C/C++ I/O, DSA, Java( Threading, inheritance), and DBMS(Joins, Normalization).

1. Minimum size of the board (https://www.hackerearth.com/practice/basic-programming/implementation/basics-of-implementation/practice-problems/algorithm/find-size-of-board-126689c0/)
2. You are given a smartphone with an efficient charger. The initial amount of the charge in the smartphone is S, it charges

the smartphone at different rates depending upon the amount of charge available in the phone to prevent the battery of the phone

from any damage. Assuming that the current amount of charge available in the phone is C, the rates at which the phone is charged

R in units per minute are as follows:

Assuming the current charge level is C, the rates R of charging are (in units per minute)

```0≤ C ≤ 10, R = 10
11 ≤ C ≤ 230, R = 5
231 ≤ C ≤ 559, R = 8
560 ≤ C ≤ 1009, R = 2
1010 ≤ C ≤ 5000, R = 7
5001 ≤ C ≤ 10000, R = 8
10001 ≤ C ≤ 1000000000, R = 3  ```

INPUT:

First-line contains Q, number of queries.

Next, Q lines contain two integers S and T.

OUTPUT:

One integer denoting the number of minutes it takes.

CONSTRAINTS:

```1 ≤ Q ≤ 100000
0 ≤ S ≤ T ≤ 1000000000```

SAMPLE INPUT:

```2
0 5
10 50```

SAMPLE OUTPUT:

```1
7```

Explanation:

First Query :

S = 0,T = 5

In this condition R = 10, hence after 1 minute charge becomes 0 + 10 = 10 which is greater than 5

Therefore total time: 1 minute

Second Query :

S = 10, T = 50. In this condition R = 10 applies, and charge becomes 10 + 10 = 20.

Now charge rate changes to R = 5, then after 6 more minutes charge becomes 20+(5+5+5+5+5+5) = 50

Therefore total time: 7 minutes.

I was able to solve both questions completely. Finally, 9 members were shortlisted for the next round.

MY APPROACH (https://www.codepile.net/pile/ZwqalMwQ)

Round 2(Technical Interview 1): It began with my introduction. Then she directly jumped on coding questions.

She also wanted me to write proper code on any IDE and run it. I was able.

This round lasted around 60 minutes.

Round 3(Technical Interview 2): This round began with my introduction again. Then the interviewer asked me to explain my project and why I chose visual cryptography ( My project was based on this.) And some more project-related questions.

Later 3 coding questions were asked

I was able to solve all questions properly and able to run the code of all questions.

And then he asked about DBMS ( Primary keys, foreigner key, B/B+ trees ), N-ary trees and their uses.

This round lasted around 2 hr.

Round 4(HR Round): Questions about me, projects, what do know about TEKION, Then he asked any questions for me. It lasted around 15 minutes.

Tips:

• Think out loud and approach to solution gradually with proper explanation.
• If you don’t know the correct answer then try to think about what can be the possible answer ( Theoretical questions ).