Add office photos
Engaged Employer

Oyo Rooms

3.3
based on 3.5k Reviews
Filter interviews by

Gh Induction Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations
Q1. Fix BST

Given a Binary Search Tree, where exactly two nodes of the same tree were swapped by mistake. The task is to restore or fix the BST, without changing its structure.

A binary search tree (BST), also calle...read more

View 5 more answers
Q2. Largest Island

You have been given a non-empty grid consisting of only 0s and 1s. You have to find the maximum area of an island in the given grid.

An island is a group of 1s (representing land) connected horizo...read more

View 3 more answers
Q3. Word Search

You are given a two-dimensional grid having 'N' rows and 'M' columns, consisting of upper case characters. You are also given a word 'WORD'. You have to find the number of occurrences of that word i...read more

View 3 more answers
Q4. Pythagorean Triplet

You are given an array of n integers (a1, a2,....,an), you need to find if the array contains a pythagorean triplet or not.

An array is said to have a pythagorean triplet if there exists thre...read more

View 3 more answers
Discover Gh Induction interview dos and don'ts from real experiences
Q5. Top View of Binary Tree

You are given a Binary Tree of integers. You are supposed to return the top view of the given binary tree. The Top view of the binary tree is the set of nodes that are visible when we see...read more

View 3 more answers
Q6. Implement Stack with Linked List

You need to implement the Stack data structure using a Singly Linked List.

Create a class named 'Stack' which supports the following operations(all in O(1) time):


getSize: Retur...read more
Add your answer
Q7. Rotate Matrix right by K times

You have been given a matrix ‘MAT’ of size 'N' * 'M' (where 'N' and 'M' denote the number of rows and columns respectively) and a positive integer ‘K’. Your task is to rotate the m...read more

Add your answer
Q8. Given a 2D matrix having 0s and 1s, each row is sorted. Find the row having the maximum number of consecutive ones in the matrix.
Add your answer
Q9. Given N documents and a set of keywords was given, you have to retrieve document having highest frequency of those keywords first and then others.
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 Interview Questions from Similar Companies

3.8
 • 41 Interview Questions
3.7
 • 32 Interview Questions
3.5
 • 24 Interview Questions
3.6
 • 21 Interview Questions
4.0
 • 20 Interview Questions
3.4
 • 14 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