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

SDE - Intern

Maersk
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures and Algorithms, Database Management System, Operating System, OOPs Concept, Java Basics , Backend Design and Interview Questions
Tip
Tip

Tip 1 : Focus mainly on Data Structures and OOPs concepts.
Tip 2 : Have a good grasp on Development part too as they definitely ask your development experience in college days. 
Tip 3 : Have a good projects in Resume as they have a separate round where interviewer mainly asks from your resume and projects.

Application process
Where: Campus
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1 : Add minimum two development projects and have a good understanding of them to explain to interviewer.
Tip 2 : Keep your resume single page only as the interviewer don't have time to go through multiple pages. Keep the description of projects "one-liner" and informative so that one can understand just by reading one line. 
Tip 3 : Add Skills sections and mention all the tech skills necessarily and keep this section on top for more visibility.
Tip 4 : The Resume should be nicely divided in sections. For eg. 1) About you 2) Skills 3) Education 4) Projects 5) Extra Curricular Activities or Achievements
Tip 5 : Don't put unnecessary things or "False Information" on the resume as you won't be able to explain them if asked by interviewer and that creates a very bad impression of you.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration95 minutes
Interview date27 May 2021
Coding problem1

This round has total 3 sections .
Section 1 : It includes aptitude questions, basic HTML,CSS questions, core Java, SQL questions. It consisted of total 71 questions to be answered in 60 minutes. 
Section 2 : It included very easy coding questions. There were total 5 questions which consisted of 1 Scala program, 2 Java Programs and 2 SQL Queries. Java Program was very basic like creating variable and printing them. Total time allocated to this round was 20 minutes,
Section 3 : It consisted of only 1 Java Question which was easy level. It should only be solved in Java language and the time allowed was 15 minutes.

I don't remember any of the questions other than 1 coding question.

1. Subarray With Given Sum

Moderate
15m average time
85% success
0/80
Asked in companies
AdobeInfo Edge India (Naukri.com)Dunzo

Given an array ARR of N integers and an integer S. The task is to find whether there exists a subarray(positive length) of the given array such that the sum of elements of the subarray equals to S or not. If any subarray is found, return the start and end index (0 based index) of the subarray. Otherwise, consider both the START and END indexes as -1.

Note:

If two or more such subarrays exist, return any subarray.

For Example: If the given array is [1,2,3,4] and the value of S is equal to 7. Then there are two possible subarrays having sums equal to S are [1,2,3] and [3,4].

Problem approach

This problem was solved by using two pointers approach.
Step 1 : Create two pointer variables start & end and initialize them to 0 and also one result variable initializing to 0. 
Step 2: Now use a "for loop" to iterate the array and termination condition would be when both start and end reach to the size of array.
Eg. for(start=0,end=0; start)

Step 3: Now use a variable called sum and keep adding arr[end] to the sum. If sum is less just add it in sum and move forward the end pointer. But if its more , open a while loop and keep incrementing start pointer and remove arr[start] from sum. If at any point, sum becomes equals to given value , increment the result. 

Step 4: Keep doing Step 3 till your pointer start and end reach to end of array.

Try solving now
02
Round
Easy
Video Call
Duration30 minutes
Interview date3 Jun 2021
Coding problem1

It was a easy round where one interviewer was present in call. He mainly asked questions from OOP concepts like Pillars of OOPs and its explanation in detail. Then he asked me some JavaScript question like for loop and its syntax. After asking questions, he told me to open code editor and asked me to write a simple for loop in Java language printing all the odd numbers and then he told me to write/convert the same program in JavaScript language. He was mainly checking my ability to write code in JavaScript. After that he asked me some DBMS questions like DDL and DML commands. He also told me to write few queries creating and dropping tables from the Database.

1. Sum Of Even Numbers Till N

Easy
0/40
Asked in companies
AccentureTransunionWipro

Given a number N, print sum of all even numbers from 1 to N.

Try solving now
03
Round
Medium
Video Call
Duration30 minutes
Interview date10 Jun 2021
Coding problem1

It was an medium difficulty level where my current manager took the interview. This round mainly revolves around managerial questions and some basic tech questions. So the round started by asking some basic introduction and then went on to DBMS questions. Interviewer asked me about SQL joins and told me to explain them in detail. After that , interviewer went through the resume in front of me and asked about what-so-information was given in resume. After that, we had a detailed discussions on one of my projects which went for nearly 10-15 minutes. Also , interviewer asked some clarifying questions while I was explaining about the project.

1. Technical Questions

How did you make your project?

What was the idea behind your project?

Which tech stack you used for your project?

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
Data Scientist
3 rounds | 2 problems
Interviewed by Maersk
1002 views
0 comments
0 upvotes
SDE - 1
3 rounds | 3 problems
Interviewed by Maersk
943 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
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
13360 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
12384 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
8920 views
2 comments
0 upvotes