• 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

LeetCode: Container With Most Water

The Magic HackerEarth Nirvana solutions Hiring Challenge

Difference between a LinkedList and a Binary Search Tree BST

N teams are participating. each team plays twice with all other teams. Some of them will go to the semi final. Find Minimum and Maximum number of matches that a team has to win to qualify for finals ?

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

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

Test Cases for Round Function

Given Set of words or A String find whether chain is possible from these words or not

VMWare Openings

Find Pythagorean Triplets in an array in O(N)

Python Dictionaries

Python String and numbers

BlueStone E-commerce Interview Experience

Serialise Deserialise N-ary Tree

DFS (Depth First Search)

Longest Increasing Subsequence

Find and print longest consecutive number sequence in a given sequence in O(n)

Templates in C++

Regular Expression Matching

Find shortest distances between every pair of vertices ( Dynamic Programming Floyd Warshall Algorithm)

Sort an array according to the order defined by another array

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

Implement a generic binary search algorithm for Integer Double String etc

Maximum of all subarrays of size k

Common Ancestor in a Binary Tree or Binary Search Tree

Find min element in Sorted Rotated Array (Without Duplicates)

flattens 2 D linked list to a single sorted link list

LeetCode: Binary Tree Maximum Path Sum

1014 Practice Question of New GRE – Princeton

How strtok() Works

Copyright © 2026 · Genesis Framework · WordPress · Log in