Add office photos
Employer?
Claim Account for FREE

Urban Company

3.5
based on 998 Reviews
Filter interviews by

20+ DP World Interview Questions and Answers

Updated 24 Sep 2024
Popular Designations
Q1. Minimize the maximum difference between adjacent elements in an array

You are given a non-decreasing array and an integer K. You need to remove exactly K integers from the given array such that the maximum diff...read more

View 4 more answers
Q2. Meetings II

Stark Industry is planning to organize Stark Expo, for which various departments have to organize meetings to check their preparations. Since Stark Tower has limited rooms available for the meeting, ...read more

View 4 more answers
Q3. Find a value whose XOR with a given value is maximum.

You are given an integer 'X' and your task is to find an integer 'Y' such that the bitwise XOR of the integers 'X' and 'Y' give the maximum possible value. T...read more

View 2 more answers
Q4. Frequency in a sorted array

You are given a sorted array 'ARR' and a number 'X'. Your task is to count the number of occurrences of 'X' in 'ARR'.

Note :
1. If 'X' is not found in the array, return 0. 2. The give...read more
View 4 more answers
Discover DP World interview dos and don'ts from real experiences
Q5. Implement indexOf()

You are given two strings A and B. Find the index of the first occurrence of A in B. If A is not present in B, then return -1.

For Example:
A = “bc”, B = “abcddbc”. String “A” is present at i...read more
View 2 more answers
Q6. Print All Subsets

You are given an array ‘arr’ of ‘N’ distinct integers. Your task is to print all the non-empty subsets of the array.

Note: elements inside each subset should be sorted in increasing order. But ...read more

View 2 more answers
Are these interview questions helpful?
Q7. Clone Linked List with Random Pointer

Given a linked list having two pointers in each node. The first one points to the next node of the list, however, the other pointer is random and can point to any node of th...read more

View 4 more answers
Q8. Distinct Subsequences

You have been given string 'S' of length 'N' that may contain duplicate alphabets. Your task is to return the count of distinct subsequences of it.

For example:

For the given string “deed” ...read more
View 3 more answers
Share interview questions and help millions of jobseekers 🌟
Q9. Search In Rotated Sorted Array

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array and rotated it clockwise by an unknown amount. For example, he took a sorted array = [1, 2, 3, 4,...read more

View 2 more answers
Q10. Rotting Oranges

You have been given a grid containing some oranges. Each cell of this grid has one of the three integers values:

  • Value 0 - representing an empty cell.
  • Value 1 - representing a fresh orange.
  • ...read more
  • View 3 more answers
    Q11. DBMS

    You have an e-commerce website. You have to find the closest warehouse to the customer's address. How would you index your database based on latitude and longitude to find the closest warehouse?

    Add your answer
    Q12. Path visiting all nodes

    You are given a connected undirected unweighted graph of ‘N’ nodes and ‘M’ edges, such that there is only one undirected edge between any two nodes and no self-loop. Your task is to find ...read more

    View 3 more answers
    Q13. Row Of A Matrix With Maximum Ones

    You are given a 2D matrix (containing either ‘0’ or ‘1’) of size N x M, where each row is in sorted order. Find the 0-based index of the first row that has the maximum number of...read more

    View 3 more answers
    Q14. Aptitude Question

    100 people are standing in a row numbered from 1 - 100. First-person is given a gun. First-person shoots the second person and passes the gun to the third person. The cycle continues and 99th p...read more

    Ans.

    The person who survives is the one standing at position 73.

    • The pattern of shooting and passing the gun creates a cycle of skipping one person each time.

    • The cycle continues until there is only one person left.

    • To find the survivor, we need to determine the position that remains after each cycle.

    • The position that remains after the first cycle is 2.

    • The position that remains after the second cycle is 4.

    • The position that remains after the third cycle is 8.

    • The pattern of positions r...read more

    Add your answer
    Q15. Amazing Strings

    Given 3 Strings, check whether the 3rd string contains all the characters of string 1 and 2 in any order. If all the characters are present, print "YES" otherwise print "NO".

    There should not be ...read more

    Add your answer
    Q16. DBMS

    Two Questions: -

    1. How would you optimize a database?
    2. Difference between Relational vs NoSQL.

    Add your answer
    Q17. DBMS/OS

    You have a large database(100s of TB).Now you have to apply some formatting to it and copy it to another database.
    How would you do it?

    Add your answer
    Q18. System Design

    Design a card game. OOD was required in this question.

    Add your answer
    Q19. OOPS Questions

    Few questions on OOPs mainly focussing on private inheritance, destructors, virtual functions, and dynamic polymorphism

    Add your answer
    Q20. System Design Question

    Create a system for the management of parking. Vehicle type includes Bus, Car, Bikes and Cycles.

    Add your answer

    Q21. Stock buy and sell with at most 2 transaction

    Ans.

    Implement a solution to find the maximum profit from buying and selling stocks with at most 2 transactions.

    • Use dynamic programming to keep track of maximum profit at each day with 0, 1, or 2 transactions.

    • Consider the possibility of splitting the transactions into two separate parts.

    • Calculate the maximum profit by iterating through the prices array and updating the maximum profit accordingly.

    Add your answer

    Q22. what is thread ?

    Ans.

    A thread is a lightweight process that can run concurrently with other threads within the same process.

    • Threads allow for parallel execution of tasks within a single process.

    • Threads share the same memory space and resources of the process they belong to.

    • Threads can communicate with each other through shared memory or message passing.

    • Examples: Java threads, POSIX threads (pthreads) in C/C++.

    Add your answer

    Q23. Binary search to find target

    Ans.

    Binary search is a divide and conquer algorithm that efficiently finds a target value in a sorted array.

    • Divide the array in half and compare the target value with the middle element

    • If the target is less than the middle element, search the left half. If greater, search the right half

    • Repeat the process until the target is found or the subarray is empty

    Add your answer

    Q24. Design paytm wallet

    Ans.

    Design a digital wallet system similar to Paytm.

    • Allow users to add money to their wallet using various payment methods like credit/debit cards, net banking, UPI, etc.

    • Enable users to make payments for various services like mobile recharge, bill payments, online shopping, etc.

    • Implement security measures like two-factor authentication, encryption of sensitive data, and regular security audits.

    • Provide features like transaction history, cashback offers, loyalty points, and seamles...read more

    Add your answer
    Contribute & help others!
    Write a review
    Share interview
    Contribute salary
    Add office photos

    Interview Process at DP World

    based on 4 interviews in the last 1 year
    Interview experience
    3.8
    Good
    View more
    Interview Tips & Stories
    Ace your next interview with expert advice and inspiring stories

    Top Software Developer Interview Questions from Similar Companies

    3.5
     • 50 Interview Questions
    3.9
     • 32 Interview Questions
    3.7
     • 25 Interview Questions
    4.3
     • 17 Interview Questions
    3.9
     • 16 Interview Questions
    3.8
     • 11 Interview Questions
    View all
    Share an Interview
    Stay ahead in your career. Get AmbitionBox app
    qr-code
    Helping over 1 Crore job seekers every month in choosing their right fit company
    70 Lakh+

    Reviews

    5 Lakh+

    Interviews

    4 Crore+

    Salaries

    1 Cr+

    Users/Month

    Contribute to help millions
    Get AmbitionBox app

    Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

    Follow us
    • Youtube
    • Instagram
    • LinkedIn
    • Facebook
    • Twitter