ByteDance | Coding Test | 30 Jan, 2021
Question · Posted Jan 2021
Problem 1 sum of n natural number. eg. input: 5 output: 15 Problem 2 Given list of schedules in [start time, end time], need to merge overlapping schedules eg. input: [[1,2],[3,4],[17,21],[18,20] output: [[1,2],[3,4],[17,21]]. Problem 3 Find cost of multiplying n-1 matrices. dimensions of matrixes was given in a 1d array of size n. where dimension of ith matrix is arr[i]xarr[i+1]. eg.input: [1,2,3] output:6 Problem 4 Similar to box stacking problem [rotation of boxes are not allowed , all boxes has ...
The full answer & interview discussion are available to premium members.
Log in Create a free account