• 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

Doubly linked list

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

Level order traversal in Spiral form

TicTacToe Game As Asked in Flipkart

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

Leetcode: Merge Intervals

Regular Expression Matching

25 horses 5 tracks Find 3 fastest puzzle

Reversal of LinkedList

Check a String is SUBSEQUENCE of another String Find Minimum length for that ( DNA Matching )

Get Minimum element in O(1) from input numbers or Stack

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

Naurki.com Security Breach

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

Sort Stack in place

LeetCode: Binary Tree Maximum Path Sum

Difference between a LinkedList and a Binary Search Tree BST

Singly linked list

Flipkart Set 1 On Campus with Answers

Binary Tree in Java

Length of the longest substring without repeating characters

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

Fibonacci Hashing & Fastest Hashtable

Leetcode: Edit Distance

Generate largest number arranging a no. of given non negative integer numbers

Word Break Problem

Count Possible Decodings of a given Digit Sequence

Memory Efficient LinkedList

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

Maximum path sum between two leaves

Copyright © 2026 · Genesis Framework · WordPress · Log in