Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Maersk interview experience Real time questions & tips from candidates to crack your interview

Data Scientist

Maersk
upvote
share-icon
3 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Machine Learning, Natural Language Processing, Data Structures, Statistics, Model Deployment
Tip
Tip

Tip 1 : Prepare your resume well (Add links to your projects)
Tip 2 : Apply Machine learning to your own real-world problems.
Tip 3 : Take part in hackathons/open-source events if applying for data science/ML roles.

Application process
Where: Other
Eligibility: 7+ CGPA
Resume Tip
Resume tip

Tip 1 : Mention your open source contributions/ participation in hackathons.
Tip 2 : Provide links to your projects.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date23 Aug 2021
Coding problem1

1. Search In Rotated Sorted Array

Moderate
30m average time
65% success
0/80
Asked in companies
Paytm (One97 Communications Limited)Tata 1mgWalmart

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated it clockwise by an unknown amount. For example, he took a sorted array = [1, 2, 3, 4, 5] and if he rotates it by 2, then the array becomes: [4, 5, 1, 2, 3].

After rotating a sorted array, Aahad needs to answer Q queries asked by Harshit, each of them is described by one integer Q[i]. which Harshit wanted him to search in the array. For each query, if he found it, he had to shout the index of the number, otherwise, he had to shout -1.

For each query, you have to complete the given method where 'key' denotes Q[i]. If the key exists in the array, return the index of the 'key', otherwise, return -1.

Note:

Can you solve each query in O(logN) ?
Try solving now
02
Round
Medium
Face to Face
Duration60 minutes
Interview date25 Aug 2021
Coding problem1

The interviewer asked me to introduce myself and my past experiences. 
Then he started by asking some basic terminologies from Machine Learning. After that, he gave me a basic coding question to be coded in python. The interviewer was getting deep into time complexities for that particular question.
After that he asked me questions from my internships, resumes and my past hackathons.

1. Ninja and Sorted List

Moderate
0/80
Asked in companies
LinkedInFacebookMicrosoft

There is a list of N files, and each file has a given file ID. Array ‘ARR’ contains the list of all file IDs.Ninja’s task is to tell whether a file with ID = ‘VAL’ exists in the list or not. So, to answer the query quickly, Ninja sorted the list. But, due to system error, the sorted array got rotated at an unknown pivot. Can you help Ninja with this problem?

You are given a rotated sorted array ‘ARR’ having ‘N’ elements and an integer ‘VAL’. You to check whether ‘VAL’ exists in the given array or not.

For Example
If the ARR is [4,6,9,11,1,2,2] and ‘VAL’ is 4, the answer will be ‘YES’ as 4 exist in ‘ARR’.
Try solving now
03
Round
Easy
HR Round
Duration60 minutes
Interview date27 Aug 2021
Coding problem0

It was just a Managerial round in which the manager was checking whether I am a good fit for the role or not. The discussion lasted for around 40 to 45 minutes.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you write a single-line comment in C++?

Choose another skill to practice
Start a Discussion
Similar interview experiences
SDE - 1
2 rounds | 7 problems
Interviewed by Maersk
1422 views
0 comments
0 upvotes
SDE - 1
3 rounds | 3 problems
Interviewed by Maersk
943 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 3 problems
Interviewed by Maersk
1063 views
0 comments
0 upvotes
Product Engineer
3 rounds | 5 problems
Interviewed by Squadstack
1490 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Data Scientist
4 rounds | 8 problems
Interviewed by Walmart
1760 views
0 comments
0 upvotes
company logo
Data Scientist
3 rounds | 1 problems
Interviewed by Cognizant
1183 views
0 comments
0 upvotes
company logo
Data Scientist
2 rounds | 3 problems
Interviewed by Sprinklr
0 views
0 comments
0 upvotes