• 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

Interfaces in C++ (Abstract Classes in C++)

Maximum of all subarrays of size k

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

Find min element in Sorted Rotated Array (Without Duplicates)

Find loop in Singly linked list

N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks

simple sql injection

Subset Sum Problem Dynamic programming

Maximum sum contiguous subarray of an Array

C++ OOPs Part2

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

Spanning Tree

ADOBE Aptitude C Language Test

Knight Tour Problem (Graph – Breadth First Search)

FizzBuzz Solution C C++

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

C++ OOPs Part1

Skiing on Mountains Matrix

C Program for TAIL command of UNIX

SAP Hiring Off-Campus General Aptitude

Daughter’s Age VeryGood Puzzle

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

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

How Radix sort works

Amazon Interview On-Campus For Internship – 1

1014 Practice Question of New GRE – Princeton

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

Printing Longest Common Subsequence

Test Cases for Round Function

Rectangular chocolate bar Create at least one piece which consists of exactly nTiles tiles

Copyright © 2026 · Genesis Framework · WordPress · Log in