• 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

Dhaval Dave

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

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

August 27, 2014 by Dhaval Dave

Given a matrix containing unique numbers in which all rows and columns are in sorted order.
And You have to search an element output its location row,column number .
If no such element the just
… Read More

Filed Under: Amazon Interview Question, Flipkart Interview Questions, Interview Questions, Microsoft Interview Questions, problem Tagged With: 2d matrix, Binary Search

Implement LRU Cache

August 27, 2014 by Dhaval Dave

Generally Interviewer can ask you simply to implement LRU cache, first explain which data structure you will use and why.
Its well known coding question being asked by all Tech giants like Amazon , Flipkart,
… Read More

Filed Under: Adobe Interview Questions, Amazon Interview Question, Flipkart Interview Questions, Interview Questions, Microsoft Interview Questions, problem Tagged With: Array, Hashmap, Linked List, Queue, Stack

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

August 25, 2014 by Dhaval Dave

You are given N strings or N words. You have to find whether a chain can be formed with all the strings given namely n ?
Chain : A chain can be formed between 2
… Read More

Filed Under: Amazon Interview Question, Flipkart Interview Questions, Interview Questions, Microsoft Interview Questions, problem Tagged With: Dynamic Programming, string

Memory Efficient LinkedList

August 24, 2014 by Dhaval Dave

Memory efficient linked list is also called XOR Linked List.
To use lesser memory in doubly link list, such data structure is used.

An ordinary doubly linked list stores addresses of the previous and next

… Read More

Filed Under: problem Tagged With: Linked List

Sort an array according to the order defined by another array

August 19, 2014 by Dhaval Dave

Sort an array according to the order defined by another array
Given two arrays A1[] and A2[], sort A1 in such a way that the relative order among the elements will be same as those
… Read More

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

Connect n ropes with minimum cost

August 19, 2014 by Dhaval Dave

Connect n ropes: There are given n ropes of different lengths, we need to connect these ropes into one rope. The cost to connect two ropes is equal to sum of their lengths. We need

… Read More

Filed Under: Flipkart Interview Questions, Interview Questions, problem Tagged With: Array

TicTacToe Game As Asked in Flipkart

August 17, 2014 by Dhaval Dave

Write a running code in any language to implement the famous tic-tac-toe game.
Decide which basic functions which would be required to implement the same. 
Then try to code it your self else basic code
… Read More

Filed Under: Flipkart Interview Questions, Interview Experience, problem Tagged With: 2d matrix

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

August 16, 2014 by Dhaval Dave

Question : Get Minimum element in O(1) from Input Numbers or Stack

– With any traditional way we can’t get minimum element in O(1)
– so we need to come up with different data structure.

… Read More

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

simple sql injection

August 13, 2014 by Dhaval Dave

Simple SQL Injection occurs when we try to penetrate security through false login and password.
This happens because of mainly inefficient code.

Try with your self.


1) Search in Google
“inurl:admin.asp”
“inurl:login/admin.asp”
“inurl:admin/login.asp”
“inurl:adminlogin.asp”
“inurl:adminhome.asp”

… Read More

Filed Under: Uncategorized Tagged With: Hacking, SQL

  • « Previous Page
  • Page 1
  • …
  • Page 10
  • Page 11
  • Page 12
  • Page 13
  • Page 14
  • …
  • Page 17
  • 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

Circular Linked List

Generic Object Oriented Stack with Template

Generate next palindrome number

Find if a binary tree is height balanced ?

Longest Increasing Subsequence

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

Find min element in Sorted Rotated Array (Without Duplicates)

Convert number to words java

Find Percentage of Words matching in Two Strings

Leetcode: Merge Intervals

Right view of Binary tree

Maximum path sum between two leaves

SAP Off Campus Hiring_ March 2015 Computer Skills

Cisco Hiring Event 21st – 22nd Feb 2015

Coin Collection Dynamic Programming

Possible sizes of bus to carry n groups of friends

DFS (Depth First Search)

Regular Expression Matching

Walmart Labs Interview Experience

Singly linked list

Length of the longest substring without repeating characters

Advanced SQL Injection

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

Sort Stack in place

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

Word Break Problem

SAP Hiring Off-Campus General Aptitude

Apriori algorithm C Code Data Mining

Given a sorted array and a number x, find the pair in array whose sum is closest to x

Stickler thief

Copyright © 2025 · Genesis Framework · WordPress · Log in