• 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

problem

1014 Practice Question of New GRE – Princeton

October 17, 2014 by Dhaval Dave

To prepare GRE from scratch first of all you need to clear all the fundamentals. And in beginning one should go with Easy question. So the first step to wards GRE is to solve this
… Read More

Filed Under: problem Tagged With: GRE

Common Ancestor in a Binary Tree or Binary Search Tree

October 10, 2014 by Dhaval Dave

We need to find a Least Common Ancestor of Two given nodes in Binary tree.

            [1]
          /    \ 
       [2]      [3]
      /  \      /  \
    [4]  [5]  [9] [10]
    /    /  \ 
  [8]   [6] [7]

say

… Read More

Filed Under: Amazon Interview Question, Flipkart Interview Questions, Interview Questions, Microsoft Interview Questions, problem Tagged With: Binary Search Tree, Binary Tree, tree

Password Predictor

October 9, 2014 by Dhaval Dave

Danny has a possible list of passwords of Manny’s facebook account. All passwords length is odd. But Danny knows that Manny is a big fan of palindromes. So, his password and reverse of his password
… Read More

Filed Under: Adobe Interview Questions, Amazon Interview Question, Hacker Earth Questions, Interview Questions, problem Tagged With: string

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

October 9, 2014 by Dhaval Dave

Given a Binary Tree and a positive integer k, print all nodes that are distance k from a leaf node.

Here the meaning of distance k from a leaf means k levels higher than a

… Read More

Filed Under: Amazon Interview Question, Flipkart Interview Questions, Interview Questions, Microsoft Interview Questions, problem Tagged With: Binary Tree, tree

Reverse a Linked List in groups of given size

October 9, 2014 by Dhaval Dave

Given a linked list, write a function to reverse every k nodes (where k is an input to the function).
Example:
Inputs: 1->2->3->4->5->6->7->8->NULL and k = 3
Output: 3->2->1->6->5->4->8->7->NULL.

Solution : Reverse a LinkedList keeping

… Read More

Filed Under: Adobe Interview Questions, Amazon Interview Question, Interview Questions, Microsoft Interview Questions, problem Tagged With: Linked List

Advanced SQL Injection

October 4, 2014 by Dhaval Dave

STEP 1) Find Websites from Google with following code

First Try to find out which websites may be Hackable from SQL Injection.
Website which has
.aspx?id=1 
.php?category=1
.php?cat=2
.php?id=5426(any id)


may not so immune to

… Read More

Filed Under: problem Tagged With: Hacking

Generate next palindrome number

September 17, 2014 by Dhaval Dave

Several Companies like MS, Amazon and Flipkart has started asking this question to Generate next palindrome number.

Say K is given, Generate N such that N is palindrome and N > K.

Logic 1)  Create

… Read More

Filed Under: Adobe Interview Questions, Amazon Interview Question, Flipkart Interview Questions, Microsoft Interview Questions, problem Tagged With: Array

How Radix sort works

September 4, 2014 by Dhaval Dave

Radix sort is simple and unique sorting method.
It sorts number with LSD and MSD ( Lease Significant Digit to Most Significant Digit)

Radix Sort puts the elements in order by comparing the digits of

… Read More

Filed Under: Interview Questions, problem Tagged With: Sorting

Max Sum in circularly situated Values

September 1, 2014 by Dhaval Dave

This question was asked first in FACEBOOK On Campus for Internship.

There are N trees in a circle. Each tree has a fruit value associated with it.
A bird can sit on a tree for
… Read More

Filed Under: Interview Questions, problem Tagged With: Array

Find if two rectangles overlap

August 27, 2014 by Dhaval Dave

Given two rectangles, find if the given two rectangles overlap or not.

Note that a rectangle can be represented by two coordinates, top left and bottom right. So mainly we are given following four coordinates.

… Read More

Filed Under: Amazon Interview Question, Interview Questions, Microsoft Interview Questions, problem Tagged With: Mathematical

  • « Previous Page
  • Page 1
  • …
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • …
  • Page 12
  • Next Page »

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

C Program for TAIL command of UNIX

Find two non repeating elements in an array of repeating elements

Circular Linked List

Memory Efficient LinkedList

There are N nuts and N bolts, u have to find all the pairs of nuts and bolts in minimum no. of iteration

The greedy coins game Dynamic Programming

Sequence Finder Dynamic Programming

Add Sub Multiply very large number stored as string

LeetCode: Binary Tree Maximum Path Sum

Printing Longest Common Subsequence

BFS (Breath First Search)

Find loop in Singly linked list

Implement LRU Cache

Reliance Jio Software Developer Interview Experience

Printing intermediate Integers between one element & next element of array

C++ OOPs Part1

Trie Dictionary

Minimum insertions to form a palindrome

Flipkart Set 1 On Campus with Answers

Convert number to words java

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

TicTacToe Game As Asked in Flipkart

Subset Sum Problem Dynamic programming

Closed Parentheses checker

System Design: Designing a LLD for Hotel Booking

ADOBE Aptitude C Language Test

Trapping Rain Water

Amazon Interview Experience – SDE Chennai

Count Possible Decodings of a given Digit Sequence

Python Dictionaries

Copyright © 2025 · Genesis Framework · WordPress · Log in