• 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

Dynamic Programming

robot standing at first cell of an M*N matrix. It can move only in two directions, right and down. In how many ways, it can reach to the last cell i.e. (M, N) Code it

July 10, 2014 by Dhaval Dave

Robot standing at first cell of an M*N matrix. It can move only in two directions, right and down. In how many ways, it can reach to the last cell i.e. (M, N) Code it.

… Read More

Filed Under: Amazon Interview Question, Data Structure, Interview Questions, Microsoft Interview Questions, problem Tagged With: 2d matrix, Dynamic Programming, Recursion

Printing Longest Common Subsequence

April 25, 2014 by Dhaval Dave

Printing Longest Common Subsequence

Given two sequences, print the longest subsequence present in both of them.

Examples:
LCS for input Sequences “ABCDGH” and “AEDFHR” is “ADH” of length 3.
LCS for input Sequences “AGGTAB” and

… Read More

Filed Under: Amazon Interview Question, Interview Questions, Microsoft Interview Questions, problem Tagged With: 2d matrix, Dynamic Programming, string

  • « Previous Page
  • Page 1
  • Page 2
  • Page 3

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

Maximum difference between two elements s.t larger element appears after the smaller number

Printing intermediate Integers between one element & next element of array

Spanning Tree

Amazon Interview Experience – SDE Chennai

Memory Efficient LinkedList

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

Reliance Jio Software Developer Interview Experience

Given array of 0’s and 1’s. All 0’s are coming first followed by 1’s. find the position of first 1

Common Ancestor in a Binary Tree or Binary Search Tree

System Design: Designing a LLD for Hotel Booking

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

Diagonal Traversal of Binary Tree

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

Binary Tree Isomorphic to each other

Trapping Rain Water

building with N steps, we can take 1,2,3 steps calculate number of ways to reach at top of building

Wrong Directions given find minimum moves so that he can reach to the destination

Connect n ropes with minimum cost

Maximum size of square sub matrix with all 1’s in a binary matrix

Find if a binary tree is height balanced ?

Printing each word reverse in string

Templates in C++

Find the smallest window in a string containing all characters of another string

C Program for TAIL command of UNIX

Check if an array has duplicate numbers in O(n) time and O(1) space

Length of the longest substring without repeating characters

LeetCode : Word Search

Find the element that appears once others appears thrice

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

Knight Tour Problem (Graph – Breadth First Search)

Copyright © 2026 · Genesis Framework · WordPress · Log in