i
Maersk
Filter interviews by
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.
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
I am currently located in New York City.
New York City
Manhattan
East Coast
What people are saying about Maersk
I was interviewed in Jan 2021.
Round duration - 60 minutes
Round difficulty - Medium
A thief is planning to rob a store and has a knapsack that can carry a maximal weight of W
. There are N
items available, where each item i
has a weight wi
and a value vi
. Determine th...
You are given a long type array/list ARR
of size N
, representing an elevation map. The value ARR[i]
denotes the elevation of the ith
bar. Your task is to determine th...
Round duration - 60 minutes
Round difficulty - Medium
You are provided with two arrays ARR1
and ARR2
both having an equal length N
. Your objective is to compute the maximum value of the expression:
|ARR1[ i ] - AR...
Given a Singly Linked List of integers, your task is to reverse the Linked List by altering the links between the nodes.
The first line of input is an intege...
Round duration - 30 minutes
Round difficulty - Medium
Tip 1 : Mention some good projects on resume
Tip 2 : Be confident
Tip 3 : Good with computer science basics and ds and algo
Tip 1 : Good Projects
Tip 2 : Having some achievements is plus point
I applied via Hirist and was interviewed in Apr 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
RESTful API is an architectural style for designing networked applications
REST stands for Representational State Transfer
Uses standard HTTP methods like GET, POST, PUT, DELETE
Resources are identified by URIs
Stateless communication between client and server
Responses are typically in JSON or XML format
posted on 5 Feb 2024
I applied via Company Website and was interviewed in Apr 2024. There was 1 interview round.
I am a software developer with 5 years of experience in Java and Python.
Experienced in Java and Python programming languages
Worked on various projects involving web development and data analysis
Familiar with Agile methodologies and version control systems like Git
I applied via Approached by Company and was interviewed before Oct 2023. There were 2 interview rounds.
Dynamic Programming problem involving finding the maximum sum of non-adjacent elements in an array.
Use dynamic programming to keep track of the maximum sum at each index.
At each index, the maximum sum is either the current element plus the sum two indices back, or the sum at the previous index.
Example: For array [2, 4, 6, 2, 5], the maximum sum of non-adjacent elements is 13 (2 + 6 + 5).
Find the longest common prefix among an array of strings.
Iterate through the characters of the first string and compare with other strings
Return the prefix when characters don't match or reach end of any string
Example: Input - ['flower', 'flow', 'flight'], Output - 'fl'
LRU cache is a data structure that stores the most recently used items.
Use a doubly linked list to keep track of the order of items based on their usage.
Use a hashmap to quickly access items in the cache.
When a new item is accessed, move it to the front of the linked list.
If the cache is full, remove the least recently used item from the end of the linked list.
posted on 26 Dec 2024
I applied via Campus Placement and was interviewed before Dec 2023. There were 2 interview rounds.
I was interviewed before Feb 2023.
Basic algorithms testing
I was interviewed in Dec 2020.
Round duration - 60 Minutes
Round difficulty - Medium
Given a binary tree, your task is to print the left view of the tree.
The input will be in level order form, with node values separated by a...
You are given the head node of a singly linked list. Your task is to return a pointer pointing to the middle of the linked list.
If there is an odd number of elements, return the ...
Tip 1 : Do a project
Tip 2 : Regular coding practice on GFG, Leetcode and coding ninjas type platforms
Tip 3 : Major team product is must
Tip 1 : Don't put information which is not relevant to the job profile
Tip 2 : Don't Lie over your resume
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Process Expert
2.1k
salaries
| ₹2 L/yr - ₹7.2 L/yr |
Senior Process Expert
1.1k
salaries
| ₹2.5 L/yr - ₹8.2 L/yr |
Senior Analyst
1k
salaries
| ₹3.7 L/yr - ₹10 L/yr |
Senior Specialist
715
salaries
| ₹4.2 L/yr - ₹14.5 L/yr |
Analyst
694
salaries
| ₹2.5 L/yr - ₹10.1 L/yr |
Accenture
Capgemini
IBM
Infosys