I recently gave twilio OA and following were the questions. I solved first question but have never seen 2nd type of question.. Following were the questions :
1> Maximum in Minimum sliding window (Title : Disk space analysis) :
Similar to : https://leetcode.com/problems/sliding-window-maximum/ just that you need to find minimum and return maximum of all minimum.
2> Transaction log analyser : (basically call a rest api from java/your pref lang and do some manipulation).
You are given a URL, User id,transaction type and timestamp, You need to call a rest api , payload will return upto some recored, you need to find the limit and make a request again. From the data received, you need to analyse based on some constraints and return the result in a list.
I was able to solve first question but 2nd question was out of my scope. Needless to say wont be hearing from them as was not able to solve 2nd, but i am motivated that some day will be able to crack a good company.
Tip: if you get first question, solve it via DP and not using PQ. your code will TO in 3 test case.