• 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

Array

Find two non repeating elements in an array of repeating elements

December 4, 2014 by Dhaval Dave

Given an array in which all numbers except two are repeated once.
(i.e. we have 2n+2 numbers and n numbers are occurring twice and remaining two have occurred once).
Find those two numbers in the
… Read More

Filed Under: Amazon Interview Question, problem Tagged With: Array, Bit Arithmeticm

HackeEarth Flipkart’s Drone

November 24, 2014 by Dhaval Dave

HackeEarth Flipkart’s Drone : After listening to the news of testing of Delivery Drone
But this was only possible if two of the shipping addresses had “V1-type” road connecting them(V1-type roads are the fastest in
… Read More

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

Python List

November 19, 2014 by Dhaval Dave

The list is a most versatile datatype available in Python which can be written as a list of comma-separated values (items) between square brackets. Good thing about a list is that items in a list

… Read More

Filed Under: Interview Questions Tagged With: Array, python

Python String and numbers

November 18, 2014 by Dhaval Dave

When working with data, we need ways to store it in variables so we can manipulate it.

three of the most common data types used in programming: numbers, strings and booleans. We assigned those data

… Read More

Filed Under: Interview Questions Tagged With: Array, string

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

November 17, 2014 by Dhaval Dave

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

Examples:

Input: arr[] = {10, 22, 28, 29, 32, 40}, x = 54
Output: 22 and

… Read More

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

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

November 14, 2014 by Dhaval Dave

Given array of 0’s and 1’s. All 0’s are coming first followed by 1’s. find the position of first 1
Example : 00001111
Output : 4Method 1 : in O(n) we can do it .
… Read More

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

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

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

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

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

  • « Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • 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

Find position of the only set bit

Handle duplicates in Binary Search Tree

Naurki.com Security Breach

Calculate price of parking from parking start end time prices

Find loop in Singly linked list

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

Generic Object Oriented Stack with Template

Level order traversal in Spiral form

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

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

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

flattens 2 D linked list to a single sorted link list

LeetCode: Container With Most Water

Right view of Binary tree

Subset Sum Problem Dynamic programming

Connect n ropes with minimum cost

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

Adobe Interview Questions 8 month Exp

Python Dictionaries

Find an index i such that Arr [i] = i in array of n distinct integers sorted in ascending order.

SAP Off Campus Hiring_ March 2015 Computer Skills

Urban Ladder Written Test.

Maximum sum contiguous subarray of an Array

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

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

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

Implement a generic binary search algorithm for Integer Double String etc

Sequence Finder Dynamic Programming

Maximum path sum between two leaves

simple sql injection

Copyright © 2025 · Genesis Framework · WordPress · Log in