• 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

Bit Arithmeticm

Find position of the only set bit

February 20, 2016 by Dhaval Dave

Given a number having only one ‘1’ and all other ’0’s in its binary representation, find position of the only set bit.

Last Asked at @Microsoft

Say number is : 5 so its binary … Read More

Filed Under: Adobe Interview Questions, Interview Questions, Microsoft Interview Questions, problem Tagged With: Bit Arithmeticm

Find the element that appears once others appears thrice

January 27, 2015 by Dhaval Dave

Given an array where every element occurs three times, except one element which occurs only once. Find the element that occurs once.
Expected time complexity is O(n) and O(1) extra space.
Examples:
Input: arr[] =
… Read More

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

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

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

Max Sum in circularly situated Values

Print Power Set of a Set

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

VMWare Openings

simple sql injection

Generate next palindrome number

SAP Hiring Off-Campus General Aptitude

Find shortest distances between every pair of vertices ( Dynamic Programming Floyd Warshall Algorithm)

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

Find if two rectangles overlap

The Magic HackerEarth Nirvana solutions Hiring Challenge

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

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

Handle duplicates in Binary Search Tree

Find Nearest Minimum number in left side in O(n)

Linked List V/S Binary Search Tree

Top 10 Interviews Techniqes for Campus Interview in IIT NIT BITS for MTech

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

Find the kth number with prime factors 3, 5 and 7

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

Trie Dictionary

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

Given a string, find the first character which is non-repetitive

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

Reliance Jio Software Developer Interview Experience

Implement a generic binary search algorithm for Integer Double String etc

Check if an array has duplicate numbers in O(n) time and O(1) space

Binary Tree Isomorphic to each other

Generic Object Oriented Stack with Template

Microsoft BING Interview Experience

Copyright © 2026 · Genesis Framework · WordPress · Log in