TBO Interview Experience (On-Campus) 2023
Last Updated :
29 Nov, 2023
Round 1 – Online assessment
5 coding questions were asked (1 Basic, 2 Easy, and 2 medium)
1. Given a string “https://www.domain.com/about” or “http://www.domain.com//type=xyz%filters=content” (Basic)
Return an array of strings having
0th element = http or https
1st element = domain name
2nd element = about, home (or any other)
or if attributes are given 2nd element = type: [xyz] filters: [content]
2. Given an array having 1, 0 or -1 (Easy)
0 means the shop is open
1 means the shop is closed and a new stock of items is received
-1 means the shop is closed and all items are returned
Return the maximum number of consecutive days when the customer can come to the shop and the shop has items
Answer – Maximum continuous number of zeroes after 1 and before any 1 or -1
4. Given an array and return the maximum product of 1st and last element of a subsequence of size k. (Medium)
Example – Array = 5 6 2 1 3 4 and k = 3
Answer – 18 (subsequence 6 2 3 or 6 1 3)
4. Given a 2D matrix and a number k (Medium)
from each row, you can select a single element, choose such elements that the difference between their sum and k is the minimum
Answer – Solved using dynamic programming (memoization)
I don’t remember the 5th question(easy), I solved all 5 questions and got selected for the interviews on the next day. Some students got shortlisted after solving 4 or 4.5 questions as their GPA was high.
Round 2 – Technical (30 min)
- Kth largest element in a stream. Link – https://practice.geeksforgeeks.org/problems/kth-largest-element-in-a-stream2220/1
- Projects-related discussion.
- How 2 devices connect and share data.
- How 1 device get the IP address of another ( Ans. Through Router).
- Indexing in Databases.
Easy round and the interviewer was very friendly.
Round 3 – Technical (45 min)
- Course Schedule.Link – https://practice.geeksforgeeks.org/problems/course-schedule/1
- Variation of the above queue (Detect cycles and nodes that are parts of the cycle).
- Projects-related discussion.
- How to define many-to-many relationships in two tables in RDBMS? Explain by creating tables.
- College and extracurricular activities related discussion.
Round 4 – Technical (45 min-60 min)
- What is encapsulation?
- What is inheritance and why it is used?
- What is CORS?
- Difference between require and import in javascript.
- How to use react without JSX (using only javascript)?
- Same question (How to define many-to-many relationship in two tables in RDBMS? Explain by creating tables.)
- Projects related discussion.
The last round was the toughest.
Verdict – Rejected
Share your thoughts in the comments
Please Login to comment...