Urban Company (UrbanClap) interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Urban Company (UrbanClap)
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I had an interest in Software Engineering from the start. I always wanted to be a Software Engineer since childhood, so by the time I got to college, I already had coding skills that were further enhanced during my college years.
Application story
I learned about this job from my friend who works at that company, so I applied for it. I prepared myself before the interview process, and after the selection process, I received the offer letter.
Why selected/rejected for the role?
I was confident throughout the entire interview process. Actually, I worked a lot on my coding skills, and I think they were the main reasons I got through the selection process.
Preparation
Duration: 2 months
Topics: Programming Languages: C,C++,Core JAVA, python(Beginner),Operating Systems, Data Structures and Algorithms , OOPs concepts, Dynamic programming, DBMS(queries), Computer Networks, Software development Methodologies.
Tip
Tip

Tip 1: Try to get a good grip on the basics; never jump into advanced concepts unless you are clear on the basic subject. 

Tip 2: Always have every main concept included in your core curriculum (for a CS student) covered. Make sure you have an idea about it and know where you can apply it. 

Tip 3: Try to work on and learn more about trending or emerging technologies.

Application process
Where: Referral
Eligibility: 7
Resume Tip
Resume tip

Tip 1: Include only known and worked-on concepts in your resume. Do not bluff or exaggerate.

Tip 2: Your resume needs to show that you are flexible and have not just worked in a single domain. So try to add at least two projects to your resume, and they should be from different domains.

Tip 3: Your resume needs to look professional; do not include a lot of personal details.

Tip 4: The career objective should be unique and written by you, not copied from any website or peers' resumes.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration150 mins
Interview date4 Apr 2022
Coding problem2

We were also given a chance to take a practice test to understand the workings of the platform. It was a proctored assessment. The test platform was HackerEarth, and there were around 28 MCQs, 1 programming question, and 2 SQL queries. The MCQs primarily focused on OS, DBMS, C++, and OOP concepts.

1. Two Sum

Easy
10m average time
90% success
0/40
Asked in companies
Chegg Inc.FacebookAmazon

You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.

Note:

We cannot use the element at a given index twice.

Follow Up:

Try to do this problem in O(N) time complexity. 
Problem approach

Simply iterate linearly and start subtracting target from each element of array and store the result in a map.

Try solving now

2. SQL Queries

Write a query to find the names of customers who have purchased less than or equal to one product. Order the output by customer name. Given a customer table with customer ID and customer name, and a product table with product ID, corresponding customer ID, and product name.

Write a query to find the average marks of each class using the given table. The output should be rounded to 4 decimal places and sorted based on the class. A single table with student information is provided.

Problem approach

These are very basic. Practice SQL queries very well during academic.

02
Round
Easy
Video Call
Duration60 mins
Interview date5 Apr 2022
Coding problem3

There was only one person interviewing me, though I expected a panel. It started with questions regarding our college and its infrastructure, such as what I like most about it, etc. Later, it continued with a few technical subjective questions and a code along with a basic query. Technical questions regarding data structures like linked lists, ArrayLists, and HashMaps were asked, as well as concepts like backtracking. More questions were asked about technologies related to the projects I have done, which include machine learning. The ratings I earned in online judges were also inquired about.

1. SQL Queries

Query to retrieve the employee name with the second maximum salary from the given table (there are 3 tables Employee(ID, name), Salary(Esalary, post), Works For(ID, Salary)).

2. Sudoku Solver

Hard
25m average time
75% success
0/120
Asked in companies
Urban Company (UrbanClap)OlaInfo Edge India (Naukri.com)

You have been given a 9x9 2d integer matrix 'MAT' representing a Sudoku puzzle. The empty cells of the Sudoku are filled with zeros, and the rest of the cells are filled with integers from 1 to 9. Your task is to fill all the empty cells such that the final matrix represents a Sudoku solution.

Note:
A Sudoku solution must satisfy all the following conditions-
1. Each of the digits 1-9 must occur exactly once in each row.
2. Each of the digits 1-9 must occur exactly once in each column.
3. Each of the digits 1-9 must occur exactly once in each of the 9, 3x3 sub-grids of the grid.

You can also assume that there will be only one sudoku solution for the given matrix.
Try solving now

3. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
GrabThalesSterlite Technologies Limited

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Problem approach

Used fast and slow pointer concept.

Try solving now
03
Round
Easy
HR Round
Duration35 mins
Interview date5 Apr 2022
Coding problem1

This is the final round, the HR round. This is where no technical stuff is discussed; everything is more about how you are as a person, how you deal with situations, and how you react to certain circumstances. They try to question your creative abilities.

1. Basic HR Questions

1) Questions mostly regarding personal details those not on your resume.
2) What do you do on a stressful day?
3) A situation to prove your time management skills.
4) What do you know about our company?
5) Why did you choose our company?

Problem approach

Tip 1: Be confident.
Tip 2: Keep a proper eye contact.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 5 problems
Interviewed by Urban Company (UrbanClap)
3461 views
0 comments
0 upvotes
SDE - 1
4 rounds | 7 problems
Interviewed by Urban Company (UrbanClap)
873 views
0 comments
0 upvotes
SDE - 1
4 rounds | 6 problems
Interviewed by Urban Company (UrbanClap)
0 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Urban Company (UrbanClap)
779 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes