Open In App

TBO Interview Experience (2024)

Last Updated : 18 Mar, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Online assessment:

  • Given a string “https://www.domain.com/about” or “http://www.domain.com//type=xyz%filters=content” – Extract the protocol, hostname and then either the file name or if there are “=” return that as key-value pair.
  • 0 means the shop is open, 1 means the shop is closed and a new stock of items is received, and -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
    Find the first 1 and then count the max number of 0s
  • Given an array return the minimum product of 1st and last element of a subsequence of size k. – Start with 1st element and then loop over all elements with distance >=k to find the product
  • From each row, you can select a single element, and choose such elements that the difference between their sum and k is the minimum. There was a MxN matrix given with prices.
  • There are 2 RAMs, virus eats up 1 mb in 1st time, 2mb the second time, 3 3rd time and so on. It eats up ram from the greater of 2 and if both are equal then picks the first one. Tell which second would it run out of memory (the leftover is <0). Start increasing time and deduct the same from either RAM till the RAM value goes negative. Report that second as the answer.

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

Similar Reads