• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to secondary sidebar

GoHired

Interview Questions asked in Google, Microsoft, Amazon

Join WeekEnd Online Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

  • Home
  • Best Java Books
  • Algorithm
  • Internship
  • Certificates
  • About Us
  • Contact Us
  • Privacy Policy
  • Array
  • Stack
  • Queue
  • LinkedList
  • DP
  • Strings
  • Tree
  • Mathametical
  • Puzzles
  • Graph

DFS

LeetCode : Word Search

October 16, 2019 by Dhaval Dave

Word Search : Given a 2D board and a word, search if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell,
where “adjacent” cells are those horizontally … Read More

Filed Under: Amazon Interview Question, Google, LeetCode Tagged With: 2d matrix, Array, DFS, Matrix, Recursion

Number of Islands BFS/DFS

April 5, 2018 by Dhaval Dave

example for rejecting a component

Problem Statement:

Given a 2d grid containing either values either 0 or 1 where 1 represents land and 0 represents water. You have to calculate the number of total islands in the given grid. An … Read More

Filed Under: Adobe Interview Questions, Algorithm, Amazon Interview Question, Data Structure, Graph Tagged With: 2d matrix, BFS, DFS

Primary Sidebar

Join WeekEnd Online/Offline Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

Join WeekEnd Online/Offline Batch from 4-April-2020

WhatsApp us

Secondary Sidebar

Custom Search

  • How I cracked AMAZON
  • LeetCode
  • Adobe
  • Amazon
  • Facebook
  • Microsoft
  • Hacker Earth
  • CSE Interview

Top Rated Questions

Sort an array according to the order defined by another array

Hackerearth : Counting Subarrays

Level order traversal in Spiral form

Print all nodes that are at distance k from a leaf node

Doubly linked list

Search element in a matrix with all rows and columns in sorted order

In Given LinkedList Divide LL in N Sub parts and delete first K nodes of each part

Maximum sum contiguous subarray of an Array

VMWare SDEII Interview

Implement a generic binary search algorithm for Integer Double String etc

BFS (Breath First Search)

Trie Dictionary

Skiing on Mountains Matrix

N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks

Binary Tree Isomorphic to each other

The greedy coins game Dynamic Programming

Cisco Hiring Event 21st – 22nd Feb 2015

K’th Largest Element in BST when modification to BST is not allowed

Puzzle : 100 doors in a row Visit and Toggle the door. What state the door will be after nth pass ?

write a c program that given a set a of n numbers and another number x determines whether or not there exist two elements in s whose sum is exactly x

Check Binary Tree is Binary Search Tree or not

The Magic HackerEarth Nirvana solutions Hiring Challenge

LeetCode: Binary Tree Maximum Path Sum

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

Urban Ladder Written Test.

Generate next palindrome number

Print vertical sum of all the axis in the given binary tree

Stickler thief

Knight Tour Problem (Graph – Breadth First Search)

ADOBE Aptitude C Language Test

Copyright © 2026 · Genesis Framework · WordPress · Log in