TikTok OA | Software Engineer Internship | Nov 4 2022

Time limit : 120 mins

The below 5 questions were asked in the TikTok online assessment on the Hackerrank platform.

2 MCQS

  1. based on this topic - cross site cookies
  2. ArrayList is preferred over LinkedList for which operation?
    a. Get by index b. Add an element c. Remove an element d. Search an element

3 problems:

  1. Eating candies - https://codeforces.com/problemset/problem/1669/F
  2. Minimum swaps required to sort the array -
    https://www.hackerrank.com/challenges/minimum-swaps-2/problem
  3. Processing times -
    https://stackoverflow.com/questions/74304267/count-minimum-time-to-finish-the-given-tasks

I was able to solve the first 2 problems and I attempted the 3rd problem with brute force approach and 1/4 test cases only passed.

Comments (4)