Maersk
10+ 20Cube Logistics Interview Questions and Answers
You have been given an integer array/list(ARR) of size 'N'. It only contains 0s, 1s and 2s. Write a solution to sort this array/list.
Note :
Try to solve the problem in 'Single Scan'. ' Single Scan' ...read more
You are given an array consisting of 'N' integers. You have to find the fourth largest element present in the array.
If there is no such number present in the array, then prin...read more
For a given Binary Tree of type integer and a number X, find whether a node exists in the tree with data X or not.
Input Format:
The first line of each test case contains elements of the first...read more
Ninja is playing with numbers but hates when he gets duplicate numbers. Ninja is provided an array, and he wants to remove all duplicate elements and return the array, but he has to maintain th...read more
The city of Ninjaland is analogous to the unweighted graph. The city has ‘N’ houses numbered from 1 to ‘N’ respectively and are connected by M bidirectional roads. If a road ...read more
What is a semaphore?
What is race condition?
Describe all the joins in SQL with a Venn diagram.
Q8. What is decorator in python
Decorator in Python is a design pattern that allows adding new functionality to an existing object without modifying its structure.
Decorators are functions that take another function as an argument and extend its behavior without explicitly modifying it.
They are commonly used to add logging, timing, caching, or authentication to functions.
Syntax for using decorators in Python involves using the @ symbol followed by the decorator function name above the function definition.
Exa...read more
Q9. What is yeild in python
yield is a keyword in Python used in generator functions to return a value without terminating the function
yield is used in generator functions to produce a series of values over time
When a generator function is called, it returns an iterator object but does not start execution immediately
Each time the yield statement is reached, the function's state is saved, and the value is returned to the caller
Execution of the function is paused until the next call to the generator's __n...read more
Q10. Architecture of current project
The current project follows a microservices architecture.
The project is divided into multiple small services that communicate with each other through APIs.
Each service is responsible for a specific functionality.
The services are deployed independently and can be scaled as per the demand.
The project uses Docker containers for easy deployment and management.
The communication between services is secured using HTTPS protocol.
The project uses a message broker for asynchronous comm...read more
More about working at Maersk
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month