Add office photos
Premium Employer

Zomato

3.8
based on 2.1k Reviews
Filter interviews by

10+ Principal Global Services Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations
Q1. LFU Cache

Design and implement a Least Frequently Used(LFU) Cache, to implement the following functions:

1. put(U__ID, value): Insert the value in the cache if the key(‘U__ID’) is not already present or update ...read more
View 4 more answers
Q2. Maximize the sum

You are given two sorted arrays of distinct integers, ‘ARR1’ and ‘ARR2’. If you find a common element in both arrays, you can switch from one array to another.

Your task is to find a path throug...read more

View 3 more answers
Q3. Two Sum

You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.

Note:

We cannot use the element at a given inde...read more
View 2 more answers
Q4. Convert a binary tree to its sum tree

Given a binary tree of integers, you are supposed to modify the given binary tree to a sum tree where each node value is replaced by the sum of the values of both left and ...read more

View 2 more answers
Discover Principal Global Services interview dos and don'ts from real experiences
Q5. Largest rectangle in a histogram

You have been given an array/list 'HEIGHTS' of length ‘N. 'HEIGHTS' represents the histogram and each element of 'HEIGHTS' represents the height of the histogram bar. Consider th...read more

View 4 more answers
Q6. Reverse DLL nodes in groups

You are given a Doubly Linked List of integers and a positive integer 'K' representing the group size. Modify the linked list by reversing every group of 'K' nodes in the linked list....read more

View 2 more answers
Are these interview questions helpful?
Q7. Find Number Of Islands

You are given a 2-dimensional array/list having N rows and M columns, which is filled with ones(1) and zeroes(0). 1 signifies land, and 0 signifies water.

A cell is said to be connected to...read more

Add your answer
Q8. Snake and Ladder

You have been given a Snake and Ladder Board with 'N' rows and 'N' columns with the numbers written from 1 to (N*N) starting from the bottom left of the board, and alternating direction each row...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. Deletion In Doubly Linked List

You are given a Doubly Linked List of ‘N’ positive integers. Your task is to delete a node at position ‘POS’ in the linked list.

Note:
Assume that the Indexing for the linked list ...read more
Add your answer
Q10. OOPS Question

Interviewer asked me about Polymorphism and about real time and run time polymorphism also with the examples.

Add your answer
Q11. DBMS Question

Write a SQL query to find X percentile of the student.

Add your answer
Q12. System Design Question

Design Instagram

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Intern Interview Questions from Similar Companies

4.1
 • 203 Interview Questions
3.6
 • 59 Interview Questions
3.6
 • 15 Interview Questions
4.2
 • 13 Interview Questions
4.0
 • 11 Interview Questions
4.0
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter