Gartner interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Gartner
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: 1. Data Structure and algorithms (arrays, queue, stack, LinkedList, Dynamic programming,Graph,Trees) 2. DBMS 3.System Design(might not asked to freshers) 4.Core and advanced Java 5. Computer Networks (not much)6. Operating Systems
Tip
Tip

Tip 1 : Make you Data Structure and algorithms , Problem solving strong ( use to do some dsa problems on code studio and leetcode daily.
Tip 2 : Practiced Quality questions and mostly asked questions list available on codestudio( used company tags and topic tags) as quality matters more than quantity of questions .
Tip 3 : Give mock interviews, this really helped me as it gives you clearity and builds confidence.
Tip 4 : Read respective company’s interview experiences available on codestudio and other websites before going to actual interview, as this gives you idea about level of interviews and you can prepare beforehand.
Tip 5 : after solving dsa problem .Try to look in discussion section too as you can get more optimised or more efficient approach used by others to solve the problem.

Application process
Where: Linkedin
Eligibility: 1+ years of experience and expertise in java
Resume Tip
Resume tip

Tip 1 : Have a concise resume , don't fill your resume with unnecessary details like your address, relationship status etc.
Tip 2 : Resume should not be more than 2 pages( try to make it very concise in 1 page)

Interview rounds

01
Round
Easy
Video Call
Duration60 Minutes
Interview date14 Dec 2021
Coding problem3

focused more on DSA

1. k-th node from the end of the linked list

Easy
15m average time
85% success
0/40
Asked in companies
AppleHikeIntuit

Given the head node of the singly linked list and an integer ‘k’, , find the value at the kth node from the end of the linked list.

For example:

Linked List

For the above-linked list, if k=2, then the value at the kth i.e second node from the end is ‘12’.
Note :
1.You don’t need to take any input. It has already been taken care of. Just implement the given function and return a pointer pointing to the k-th element from the last of the linked list.
2.It is guaranteed that k<=size of the linked list.
Problem approach

Explained naive approach first: We can traverse through the Linked List while maintaining a count of nodes, let’s say in variable count , and then traversing for the 2nd time for (n – count) nodes to get to the nth node of the list.

Then went for optimised approach:
1. Take two dummy nodes, who’s next will be pointing to the head.
2.Take another node to store the head, initially it,s a dummy node(start), and the next of the node will be pointing to the head.The reason why we are using this extra dummy node, is because there is an edge case. If the node is equal to the length of the linkedlist, then this slow’s will point to slow’s next→ next. And we can say our dummy start node will be broken, and will be connected to the slow’s next→ next.
3.Start traversing until the fast pointer reaches the nth node.
4.Now start traversing by one step both of the pointers until the fast pointers reach the end.
5. When the traversal is done, just do the deleting part. Make slow pointer’s next to the next of next of the slow pointer to ignore/disconnect the given node.
6.Last, return the next of start.

Try solving now

2. Ways To Make Coin Change

Moderate
20m average time
80% success
0/80
Asked in companies
AmazonCIS - Cyber InfrastructureLinkedIn

You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a change for value V using coins of denominations from D. Print 0, if a change isn't possible.

Problem approach

It is a standard DP problem which can be solved

Try solving now

3. Basic java and OOPS concepts

(interface vs functional interface)

asked about functional programming and advantages.

 Front end projects and current projects i was working in my current organization.

Problem approach

Think out loud. Ask interviews if you have any questions and doubts.

02
Round
Easy
Video Call
Duration50 minutes
Interview date16 Dec 2021
Coding problem2

Manegerial

1. Angle Between Hour Hand And Minute Hand

Easy
15m average time
85% success
0/40
Asked in companies
AmazonSalesforceMicrosoft

Given the time in hours and minutes, you need to calculate the angle between the hour hand and the minute hand.

Note :
There can be two angles between the hour hand and minute hand, you need to print a minimum of two. Also, print the floor value of angle i.e. if the angle is 15.2, you need to print 15.
Problem approach

The idea is to take 12:00 (h = 12, m = 0) as a reference. Following are detailed steps.

1. Calculate the angle made by hour hand with respect to 12:00 in h hours and m minutes. 
2. Calculate the angle made by minute hand with respect to 12:00 in h hours and m minutes. 
3. The difference between the two angles is the angle between the two hands.

The minute hand moves 360 degrees in 60 minute(or 6 degrees in one minute) and hour hand moves 360 degrees in 12 hours(or 0.5 degrees in 1 minute). In h hours and m minutes, the minute hand would move (h*60 + m)*6 and hour hand would move (h*60 + m)*0.5.

Try solving now

2. Technical Questions

Multi threading in java. Java 8 Features. 

Spring boot questions like :

1.What Are the Differences Between Spring and Spring Boot?

2. how to disable a specific auto configuration?

3.how to tell an auto configuration to back away when a bean exists.

What is Normalization and why it is done?

Difference between Mutex and Semaphores

How will you implement caching in applications?

Problem approach

Revise basics and practice standard questions asked

03
Round
Easy
HR Round
Duration20 Minutes
Interview date20 Dec 2021
Coding problem1

1. Basic HR questions

Tell me about yourself?
Why are looking for a change?
Do you have questions for us? 

Problem approach

Tip 1 : Practice standard questions beforehand.
 

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 4 problems
Interviewed by Gartner
1277 views
0 comments
0 upvotes
SDE - 1
3 rounds | 8 problems
Interviewed by Gartner
1275 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
4 rounds | 1 problems
Interviewed by Newgen Software
3210 views
2 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by HashedIn
2583 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Ernst & Young (EY)
0 views
0 comments
0 upvotes