DP World | Interview Experience | SDE-1 | March 2025 | Reject

dp world logo
dp world
SDE-12.8 years
April 7, 202514 reads

Summary

I interviewed for an SDE-1 position at DP World, going through four technical rounds focused on LeetCode problems and a final Hiring Manager round that included behavioral and Java/Spring Boot technical questions, ultimately resulting in a rejection.

Full Experience

YOE : 2.8

Currenlty : SDE-1 At a Product Based Startup

How Did I get interview Call? - Recruiter shared email on a LinkedIn Post and asked to email resume.

Round 1-

OA

1 Hard Graph Problem

1 Medium Problem

Don't remember the Exact Questions

Round 2- 60 Mins

Basic Intro around the work I do.

Question 1 -

https://leetcode.com/problems/group-anagrams/description/

Question 2 -

https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/

Solved Both Questions with Brute to most optimal solution

Self Verdict : Strong

Round 3 - 60 Mins

Question - 1

https://leetcode.com/problems/merge-k-sorted-lists/

Question - 2

https://leetcode.com/problems/daily-temperatures/

Solved Both Questions with brute to most optimal solution

Self Verdict : Strong

Round 4 - 60 Mins

Question - 1

https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/

Question - 2

https://leetcode.com/problems/largest-rectangle-in-histogram/description/

Solved both questions, Q-1 done with optimal solution, Q2 with Brute Force, was not able to think of the most optimal solution.

All rounds are eliminaiton rounds

All questions were popular Leetcode Medium/Hard Problems.

LC Stats = ~800

Round 5 - Hiring Manager

Duration - 60 Mins

Interviwer was Director at DP World.

Interview started around with the work I do.

Questions like - Why Switch?

Why left the first company in 6-7 Monhts? (Mass Layoffs btw)

I explained the work I do. (Wasn't very convincing, need to selll better)

Situational -

You and your teammate are workinng on a project with strong deadlines.What would you do If your teammate is not doing anything, he straight up refuses to do any work? What will you do?

Interviwe was like 60-65% techincal, rest standard HM questions.

Java Spring Boot questions.

What is Autowired?

@Component?

What if we don't use @Component?

Comparing Objects in java.

Starting a project from sratch and writing a spring boot API.

Asked me if i know multithreading?

Then asked me to write a program to print 1 - 100 with 2 threads.

Some More questions about Java Spring Boot.

Verdict : Rejected in HM Round

Interview Questions (15)

Q1
Group Anagrams
Data Structures & AlgorithmsMedium

Given an array of strings strs, group the anagrams together. You can return the answer in any order.

Q2
Capacity To Ship Packages Within D Days
Data Structures & AlgorithmsMedium

A conveyor belt has packages that must be shipped from one port to another within d days. The ith package on the conveyor belt has a weight of weights[i]. Each day, we load a specific weight capacity onto the conveyor belt. We should not load more than the maximum weight capacity. Return the least weight capacity a conveyor belt must have that will result in all the packages on the conveyor belt being shipped within d days.

Q3
Merge k Sorted Lists
Data Structures & AlgorithmsHard

You are given an array of k linked-lists, each sorted in ascending order. Merge all the linked-lists into one sorted linked-list and return it.

Q4
Daily Temperatures
Data Structures & AlgorithmsMedium

Given an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i] is the number of days you have to wait after the ith day to get a warmer temperature. If there is no future day for which this is possible, keep answer[i] == 0 instead.

Q5
Best Time to Buy and Sell Stock
Data Structures & AlgorithmsEasy

You are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in the future to sell that stock. Return the maximum profit you can achieve from this transaction. If you cannot achieve any profit, return 0.

Q6
Largest Rectangle in Histogram
Data Structures & AlgorithmsHard

Given an array of integers heights representing the histogram's bar height where the width of each bar is 1, return the area of the largest rectangle in the histogram.

Q7
Why Switch?
Behavioral

Why are you looking to switch companies?

Q8
Why left first company?
Behavioral

Why did you leave your first company in 6-7 months?

Q9
Teammate not doing work
Behavioral

You and your teammate are working on a project with strong deadlines. What would you do if your teammate is not doing anything, he straight up refuses to do any work? What will you do?

Q10
What is @Autowired?
Other

What is @Autowired in Spring Boot?

Q11
What is @Component?
Other

What is @Component in Spring Boot?

Q12
Not using @Component
Other

What if we don't use @Component?

Q13
Comparing Objects in Java
Other

Questions about comparing objects in Java.

Q14
Starting Spring Boot project from scratch
Other

How to start a project from scratch and write a Spring Boot API.

Q15
Multithreading program (Print 1-100 with 2 threads)
Other

Write a program to print numbers 1-100 using 2 threads.

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!