Return the customer IDs whose time is below a given window.
Unlock detailed company stats for this questionUpgrade
Given two arrays of the same length, time[] (time values) and cid[] (customer IDs), where index i in both refers to the same record, and a time window W, return the list (or count) of all cid[i] where time[i] is less than W.
Example: time = [5, 15, 50], cid = ["C1", "C2", "C3"], W = 30.
Format · IBM Associate System Engineer OA.
Community answers
No answers contributed by the community yet.
Related questions
Given the root of a BST and an integer target, return the node whose value is closest to the target.Related courses

Course

Course
Course
