• 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

algorithm

Closed Parentheses checker

December 26, 2017 by Dhaval Dave

example explaining problem

‏Problem Statement:

You are given 3 types of parentheses (),{},[]. Now you are supposed to check whether a given string containing some parentheses is closed or not.

example depicting closed sequence… Read More

Filed Under: Amazon Interview Question, Interview Questions Tagged With: algorithm, backtracking

Knight Tour Problem (Graph – Breadth First Search)

December 22, 2017 by Dhaval Dave

Knight Tour Problem : Given a chess board of size n x n, initial position of knight and final position of knight. We need to find the minimum number of steps required to reach final … Read More

Filed Under: Algorithm, Amazon Interview Question, Flipkart Interview Questions, Graph, Microsoft Interview Questions Tagged With: algorithm, BFS, Graph

Find next greater number with same set of digits

July 20, 2014 by Dhaval Dave

Given a number n, find the smallest number that has same set of digits as n and is greater than n. If x is the greatest possible number with its set of digits, then print
… Read More

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

Implement a generic binary search algorithm for Integer Double String etc

March 20, 2014 by Dhaval Dave

A Simple Binary Search for Integers

BinarySearch(A[0..N-1], value) 
{
   low = 0
   high = N - 1
   while (low <= high) {
       mid = low + ((high - low) / 2)
       if (A[mid] > value)
           
… Read More

Filed Under: problem Tagged With: algorithm

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

Sort Stack in place

1014 Practice Question of New GRE – Princeton

Linked List V/S Binary Search Tree

Singly linked list

BlueStone E-commerce Interview Experience

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

C++ OOPs Part1

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

Find if two rectangles overlap

Practo Hiring Experience

Maximum sum contiguous subarray of an Array

Max Sum in circularly situated Values

Best Java Book | Top Java Programming Book for Beginners

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

Find the number ABCD such that when multipled by 4 gives DCBA.

Find min element in Sorted Rotated Array (With Duplicates)

How Radix sort works

Reliance Jio Software Developer Interview Experience

Level order traversal in Spiral form

Code Chef PRGIFT Solution

SAP Hiring Off-Campus General Aptitude

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

Possible sizes of bus to carry n groups of friends

C++ OOPs Part2

Binary Tree in Java

TicTacToe Game As Asked in Flipkart

Maximum difference between two elements s.t larger element appears after the smaller number

HackeEarth Flipkart’s Drone

Cisco Hiring Event 21st – 22nd Feb 2015

Printing Longest Common Subsequence

Copyright © 2026 · Genesis Framework · WordPress · Log in