Phone Interview:
My solution was to sort the tasks in size from least memory to most memory. Then take the first and last element from the task list and assign it to the first computer and then the second task and second to last task and assign it to the second computer.

First round On Site Interview:
The interview link wasnt working and then I finally got on after 5 minutes.
Initially they just ask about your favorite projects and what you do at work
This was the first round containing 2 interviewers:
Given a list of elements split the list into two subarrays such that the left subarray has all of its elements than the elements in the right subarray.
Gave the brute force O(n^2) time complexity solution then gave the linear time complexity solution where
Asked for me to design AWS S3
I explained the consistency model of AWS S3 is eventually consistent and how Bloomberg would want a strictly consistent model. I suggested that when a user queries S3 after inserting data he should be blocked from retrieving data until the inserted data arrives in all availabilty zones.
The interviewer was suggesting maybe we only need to wait till the data gets replicated to 1 avalability zone and then in the background the data gets replicated to other availability zones. I did not completely understand if this is what the interviewer said and I shouldnt have proceeded till I clarified 100%.
I also explained that when replicating we want to replicate to the availability zones closest to you.
At this point we ran out of time. I was a bit dissapointed. Not sure if this was going to make a difference
This took about 12 minutes
Second round of on-site containing 2 interviewers:
You are given a list of elements and a lambda function. The lambda function will take two elements and return True if they belong to the same set / group. You should not worry about the implementation of the lambda function. You should return a List of Lists where each sublist are elements in the same set.
For example if you are given [12, 11,1,3,9,6,8] and lambda_func = lambda a, b: a % 2 == b % 2
You should return a List of Lists like the following
[
[11, 1, 3, 9],
[12, 6,8]
]I implemented a solution where you iterate over the list and create a dictionary of sets.
I needed some assistance for this question
Because we had 5 minutes left before I asked I could ask the interviewer questions, this question was very simple
Find two elements in a list of positive integers that sum to k
Good news, I received the offer!