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

SDE - 1

Gartner
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, OOPS, AWS, SQL, Python
Tip
Tip

Tip 1 : Always prepare your resume in such a way that whatever is mentioned in your resume should be on your fingertips. You should be able to answer questions on any skill that is mentioned in your resume.
Tip 2 : Always ensure that you prepare the project in mind before going in interview. Most of the time interviewer ask about what is your current project, what is your contribution in it etc. They might ask some cross questions based on your explanation so you should be pretty much prepared to answer those.
Tip 3 : Keep hands on practice on any coding platform. It helps you think more actively for any random solution that's possible. Do not hesitate to ask any questions from interviewer that are coming in your mind

Application process
Where: Linkedin
Resume Tip
Resume tip

Tip 1 : Make it clear and concise. Ideal size should be 1-2 pages.
Tip 2 : Highlight your role, responsibilities and skills used to accomplish work in that role.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date31 Jul 2021
Coding problem1

MCQs and a coding question 
Timing - 90 minutes
Environment was clear.
Interviewer not present

1. Valid Parentheses

Easy
10m average time
80% success
0/40
Asked in companies
OracleAmerican ExpressPayPal

You're given a string 'S' consisting of "{", "}", "(", ")", "[" and "]" .


Return true if the given string 'S' is balanced, else return false.


For example:
'S' = "{}()".

There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
Problem approach

1. Implement stack, push opening brackets in stack and pop closing brackets of same type ( & ), [ & ] , { & }
2. If stack at end is empty, it's valid else invalid

Try solving now
02
Round
Medium
Video Call
Duration45 minutes
Interview date10 Aug 2021
Coding problem2

Timing was evening
Environment was good
Interviewer was smart guy having knowledge in multiple domains

1. Temporary Tree

Hard
45m average time
50% success
0/120
Asked in company
Gartner

You are gifted a tree consisting of 'N' vertices. There are two types of edges each with a weight 'VAL' and denoted by a ‘TYPE’ value that is either 0 or 1.

A pair (i, j), where ‘i’ < ‘j' is called GOOD if, while traversing from vertice 'i' to vertice 'j', we never pass through an edge of ‘TYPE’ 0.

Your task is to calculate the sum of the path’s weight of all the GOOD pairs present in the tree. Return the final answer modulo 10^9 + 7.

Example:
Input: ‘N’ = 3 and edges are [{1, 2, 0, 5}, {2, 3, 1, 3}] and edges are given in format {u, v, type, weight}.
Output: 3
Explanation: There is only one GOOD pair, i.e. {2, 3} and the weight of the edge is 3.
Try solving now

2. Reverse The Array

Easy
15m average time
85% success
0/40
Asked in companies
GartnerInfo Edge India (Naukri.com)HCL Technologies

Given an array/list 'ARR' of integers and a position ‘M’. You have to reverse the array after that position.

Example:

We have an array ARR = {1, 2, 3, 4, 5, 6} and M = 3 , considering 0 
based indexing so the subarray {5, 6} will be reversed and our 
output array will be {1, 2, 3, 4, 6, 5}.
Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date24 Aug 2021
Coding problem1

Evening
Environment was good
Interviewer was kind

1. Basic HR Questions

Salary negotiations
Asked about family
What are your hobbies?
Role and responsibility in the previous company?
Where do you see yourself in 5 years?
Why do you want to join Gartner?

Problem approach

Tip 1 : Prepare well in advance 
Tip 2 : Highlight your strength
Tip 3 : Be honest and ask any questions that you have

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
2 rounds | 4 problems
Interviewed by Gartner
907 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Gartner
742 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Gartner
1081 views
0 comments
0 upvotes
SDE - 1
3 rounds | 8 problems
Interviewed by Gartner
1275 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6261 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
2159 views
0 comments
0 upvotes