• 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

Amazon Interview Question

flattens 2 D linked list to a single sorted link list

March 27, 2014 by Dhaval Dave

Write a function flatten() which flattens this linked list with each node down sorted link list to a single link list with all the elements in sorted order.

We have given Two methods in O(n^2)

… Read More

Filed Under: Amazon Interview Question, Flipkart Interview Questions, Microsoft Interview Questions, problem Tagged With: Linked List, Merge Sort

Find Pythagorean Triplets in an array in O(N)

March 27, 2014 by Dhaval Dave

Find Pythagorean Triplets in an array

We have an array in which random integers are there. we need to find Pythagorean triplets.
which solves equation a^2 + b^2 = c^2.
Method 1 : Brute Force
… Read More

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

Length of the longest substring without repeating characters

March 26, 2014 by Dhaval Dave

Length of the longest substring without repeating characters


Method 1 (Brute Force Method)
We can consider all substrings.
One by one and check for each substring whether it contains all unique characters or not. 

There

… Read More

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

Amazon Interview On-Campus For Internship – 1

March 25, 2014 by Dhaval Dave

 Amazon Interview On-Campus For Internship – 1

Online Round Coding Question:
Q1. Given a float number 7.64, convert it into the string WITHOUT using any inbuilt function/library.
for eg:
input
float no.: 7.64
output
string:

… Read More

Filed Under: Amazon Interview Question, Interview Experience Tagged With: Amazon

Given a float number convert it into the string WITHOUT using any inbuilt Function

March 25, 2014 by Dhaval Dave

Convert a floating point number to string

Given a float number convert it into the string WITHOUT using any inbuilt Function

Method 1:

class Float2String 
{ 
   public static void main(String[] args) 
   { 
      float f=7.64f; 
      String 
… Read More

Filed Under: Amazon Interview Question, problem Tagged With: string

Get K Max and Delete K Max in stream of incoming integers

March 25, 2014 by Dhaval Dave

Get K Max and Delete K Max in stream of Incoming Integers

Solution 1 : Using Min Heap
Algorithm :

1) Keep a Min & Max Heap of K size
2) Store first K elements 
… Read More

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

Find loop in Singly linked list

February 20, 2014 by Dhaval Dave

There are several ways to find loop in singly linked list,

Loop Node5 Next pointer is point to Node3 in Singly Linked List

1 ---- 2 ---- 3 ---- 4 ---- 5
              |_____________|
  • Hashmap
  • Floyd’s
… Read More

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

  • « Previous Page
  • Page 1
  • …
  • Page 6
  • Page 7
  • Page 8

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

Python Dictionaries

Microsoft BING Interview Experience

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

Connect n ropes with minimum cost

Hackerearth : Counting Subarrays

Printing intermediate Integers between one element & next element of array

Find min element in Sorted Rotated Array (Without Duplicates)

Singly linked list

Find min element in Sorted Rotated Array (With Duplicates)

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

Diagonal Traversal of Binary Tree

Maximum sum contiguous subarray of an Array

‘N’ Story Building, with 1,2,3 steps how many ways can a person reach top of building.

Flipkart Set 1 On Campus with Answers

Regular Expression Matching

Count number of ways to reach a given score in a game

Reversal of LinkedList

Word Break Problem

Facebook Interview Question : Interleave List

C Program for TAIL command of UNIX

Right view of Binary tree

CodeChef’ RRCOPY

Knight Tour Problem (Graph – Breadth First Search)

Handle duplicates in Binary Search Tree

Stickler thief

simple sql injection

Stock Buy Sell to Maximize Profit

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

Closed Parentheses checker

Binary Tree in Java

Copyright © 2025 · Genesis Framework · WordPress · Log in