• 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

flattens 2 D linked list to a single sorted link list

K’th Largest Element in BST when modification to BST is not allowed

Generic Object Oriented Stack with Template

Maximum of all subarrays of size k

Convert number to words java

C++ OOPs Part2

simple sql injection

Find next greater number with same set of digits

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

Coin Collection Dynamic Programming

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

Client Server C program

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

Find Pythagorean Triplets in an array in O(N)

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

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

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

strtok()

Implement a generic binary search algorithm for Integer Double String etc

Common Ancestor in a Binary Tree or Binary Search Tree

Maximum path sum between two leaves

Printing each word reverse in string

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

Handle duplicates in Binary Search Tree

Cisco Hiring Event 21st – 22nd Feb 2015

Flipkart Set 1 On Campus with Answers

Memory Efficient LinkedList

Difference between a LinkedList and a Binary Search Tree BST

How strtok() Works

1014 Practice Question of New GRE – Princeton

Copyright © 2026 · Genesis Framework · WordPress · Log in