Uber L4 | Online assessment

uber logo
uber
SDE IINo Offer
November 5, 20240 reads

Summary

I recently underwent an online assessment for an L4 role at Uber, which included four technical questions. My performance was not satisfactory, especially on the final question, and I did not receive any feedback.

Full Experience

Hi Folks,
Recently, I appeared for the Uber online assessment interview for an L4 position. The assessment lasted 70 minutes and comprised four questions. I found the questions challenging, particularly the fourth one, where I struggled to pass all the test cases. Unfortunately, I did not receive any feedback after the assessment, and I believe my performance was not good.

Interview Questions (3)

Q1
Difference of Uppercase and Lowercase Letters
Data Structures & AlgorithmsEasy

Given a string containing only alphabets, find the absolute difference between the count of uppercase letters and the count of lowercase letters.

Q2
Bucket with Maximum Files
Data Structures & AlgorithmsMedium

You are given a list of commands where each command has either a goto operation or a create operation.
commands = ["goto Bucket_A", "create File_A", "create File_B", "goto Bucket_C", "create File_Y"]
The goto operation changes the current active bucket to the specified bucket. The create operation creates a file in the current active bucket. Your task is to return the name of the bucket which has the maximum number of files.

Q3
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Data Structures & AlgorithmsMedium

Find the longest continuous subarray such that the absolute difference between any two elements in this subarray is less than or equal to a given limit.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!