CoverPhoto
Maersk logo
Premium Employer

Maersk

Verified
4.2
based on 2.9k Reviews
Filter interviews by
Designation
Fresher
Experienced
Clear (1)

10+ Maersk Interview Questions and Answers for Freshers

Updated 15 Nov 2024
Popular Designations

Q1. What is Purchase order

Ans.

A purchase order is a document issued by a buyer to a seller, indicating types, quantities, and agreed prices for products or services.

  • It is a legally binding document

  • It outlines the details of the products or services being purchased

  • It includes quantities, prices, delivery dates, and terms of payment

  • It serves as a record of the transaction between the buyer and seller

Add your answer
right arrow

Q2. Sort 0s, 1s, and 2s Problem Statement

You are provided with an integer array/list ARR of size 'N' which consists solely of 0s, 1s, and 2s. Your task is to write a solution to sort this array/list.

Input:

The fi...read more
Ans.

Sort an array of 0s, 1s, and 2s in linear time with a single scan approach.

  • Use three pointers to keep track of the positions of 0s, 1s, and 2s in the array.

  • Iterate through the array once and swap elements based on their values and the pointers.

  • After the single scan, the array will be sorted in place with 0s, 1s, and 2s in order.

View 1 answer
right arrow

Q3. Fourth Largest Element in the Array

Given an array consisting of integers, your task is to determine the fourth largest element in the array. If the array does not contain at least four distinct elements, retur...read more

Ans.

Find the fourth largest element in an array, return -2147483648 if not enough distinct elements.

  • Sort the array in descending order

  • Return the fourth element if it exists, else return -2147483648

Add your answer
right arrow

Q4. Binary Tree Node Presence Problem

Determine if a node with a given integer value X exists in a specified binary tree.

Input:

The first line of each test case contains the binary tree nodes in level order sequen...read more
Ans.

Check if a node with a given value exists in a binary tree.

  • Traverse the binary tree using depth-first search (DFS) or breadth-first search (BFS) to search for the node with the given value.

  • Use a recursive or iterative approach to implement the search algorithm.

  • Return 'true' if the node with the given value is found, otherwise return 'false'.

Add your answer
right arrow
Discover Maersk interview dos and don'ts from real experiences

Q5. Shortest Path in an Unweighted Graph

The city of Ninjaland is represented as an unweighted graph with houses and roads. There are 'N' houses numbered 1 to 'N', connected by 'M' bidirectional roads. A road conne...read more

Ans.

Find the shortest path in an unweighted graph from house 'S' to house 'T'.

  • Use Breadth First Search (BFS) algorithm to find the shortest path in an unweighted graph.

  • Create a queue to store the current house and its neighbors, and a visited set to keep track of visited houses.

  • Start BFS from house 'S' and stop when reaching house 'T'.

  • Return the path from 'S' to 'T' once 'T' is reached.

  • If multiple shortest paths exist, return any one of them.

Add your answer
right arrow

Q6. Remove Duplicates Problem Statement

You are given an array of integers. The task is to remove all duplicate elements and return the array while maintaining the order in which the elements were provided.

Example...read more

Ans.

Remove duplicates from an array while maintaining order.

  • Use a set to keep track of unique elements.

  • Iterate through the array and add elements to the set if not already present.

  • Convert the set back to an array to maintain order.

Add your answer
right arrow
Are these interview questions helpful?
Q7. Can you describe all the joins in SQL and illustrate them with a Venn diagram?
Ans.

SQL joins are used to combine rows from two or more tables based on a related column between them.

  • Inner Join: Returns rows when there is at least one match in both tables.

  • Left Join: Returns all rows from the left table and the matched rows from the right table.

  • Right Join: Returns all rows from the right table and the matched rows from the left table.

  • Full Outer Join: Returns rows when there is a match in one of the tables.

  • Cross Join: Returns the Cartesian product of the two ta...read more

Add your answer
right arrow

Q8. Write a query to display students record in ascending order of thier name and descending order of thier subject

Ans.

Query to display students record in ascending order of name and descending order of subject.

  • Use ORDER BY clause to sort the records

  • Specify ASC for name and DESC for subject in the ORDER BY clause

  • Example: SELECT * FROM students ORDER BY name ASC, subject DESC

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. What is Linear and non linear ds

Ans.

Linear data structures have elements arranged in a sequential order, while non-linear data structures have elements connected in a non-sequential manner.

  • Linear data structures include arrays, linked lists, queues, and stacks.

  • Non-linear data structures include trees, graphs, and heaps.

  • Linear data structures have a single path to traverse elements, while non-linear data structures have multiple paths.

Add your answer
right arrow

Q10. Objected Oriented Programming and its real life usage

Ans.

Object Oriented Programming is a programming paradigm that uses objects to design applications.

  • Encapsulation: Bundling data and methods that operate on the data together.

  • Inheritance: Creating new classes based on existing classes.

  • Polymorphism: Using a single interface to represent different data types or objects.

  • Real life example: Creating a car class with properties like speed and methods like accelerate.

Add your answer
right arrow

Q11. give your strength and weekness

Ans.

My strength is my ability to lead and motivate a team. My weakness is my tendency to be too detail-oriented.

  • Strength: I have experience leading teams and have a knack for motivating individuals to work towards a common goal.

  • Weakness: I tend to get caught up in the details and can sometimes lose sight of the bigger picture. I am working on delegating tasks more effectively to avoid this.

Add your answer
right arrow

Q12. General rule of accounting

Ans.

General rule of accounting is the principle that financial transactions should be recorded accurately and consistently.

  • The general rule of accounting is to follow the principles of consistency, accuracy, and transparency.

  • Transactions should be recorded in a timely manner to reflect the true financial position of the company.

  • Accounting standards such as GAAP and IFRS provide guidelines for following the general rule of accounting.

  • Examples include recording revenue when it is e...read more

Add your answer
right arrow

Q13. Current location

Ans.

I am currently located in New York City.

  • New York City

  • Manhattan

  • East Coast

Add your answer
right arrow

Q14. What is data base sharding?

Ans.

Database sharding is a method of splitting and distributing a database across multiple servers to improve performance and scalability.

  • Sharding involves dividing a database into smaller, more manageable parts called shards.

  • Each shard contains a subset of the data, allowing for parallel processing and improved performance.

  • Sharding helps distribute the workload across multiple servers, reducing the burden on individual servers.

  • Examples of sharding include partitioning a database...read more

Add your answer
right arrow

Q15. Explain SQL vs NoSQL

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

Interview Process at Maersk for Freshers

based on 17 interviews
Interview experience
3.9
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

BYJU'S Logo
3.1
 • 686 Interview Questions
Omega Healthcare Logo
3.7
 • 214 Interview Questions
Info Edge Logo
3.9
 • 198 Interview Questions
Atos Logo
3.9
 • 185 Interview Questions
Ola Electric Mobility  Logo
3.3
 • 135 Interview Questions
View all
Recently Viewed
SALARIES
Mango Hotels
SALARIES
Mango Hotels
JOBS
Mahindra Holidays & Resorts
No Jobs
SALARIES
Khosla Electronics
SALARIES
S&IB Services
DESIGNATION
SALARIES
Sarovar Hotels & Resorts
SALARIES
Barbeque Nation
SALARIES
The Indian Hotels Company
JOBS
Marriott International
No Jobs
Top Maersk Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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