• 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

Fibonacci Hashing & Fastest Hashtable

Subset Sum Problem Dynamic programming

Longest Increasing Subsequence

Python Dictionaries

CodeChef’ RRCOPY

Trie Dictionary

Difference between a LinkedList and a Binary Search Tree BST

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

Advanced SQL Injection

Find if two rectangles overlap

Rectangular chocolate bar Create at least one piece which consists of exactly nTiles tiles

Given a string, find the first character which is non-repetitive

Leetcode: Merge Intervals

Right view of Binary tree

Count number of ways to reach a given score in a game

Doubly linked list

Password Predictor

Printing intermediate Integers between one element & next element of array

Singly linked list

Level order traversal in Spiral form

Printing each word reverse in string

Python List

25 horses 5 tracks Find 3 fastest puzzle

Find the kth number with prime factors 3, 5 and 7

Sequence Finder Dynamic Programming

flattens 2 D linked list to a single sorted link list

Add Sub Multiply very large number stored as string

Serialise Deserialise N-ary Tree

Find Nearest Minimum number in left side in O(n)

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

Copyright © 2026 · Genesis Framework · WordPress · Log in