• 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

Subset Sum Problem Dynamic programming

Sequence Finder Dynamic Programming

Coin Collection Dynamic Programming

Client Server C program

Hackerearth : Counting Subarrays

Word Break Problem

System Design: Designing a LLD for Hotel Booking

Reversal of LinkedList

Maximum path sum between two leaves

Adobe Interview Questions 8 month Exp

Leetcode: Merge Intervals

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

Facebook Interview Question : Interleave List

Right view of Binary tree

Printing intermediate Integers between one element & next element of array

SAP Off Campus Hiring_ March 2015 Computer Skills

Reverse a Linked List in groups of given size

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

Trapping Rain Water

N teams are participating. each team plays twice with all other teams. Some of them will go to the semi final. Find Minimum and Maximum number of matches that a team has to win to qualify for finals ?

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

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

Handle duplicates in Binary Search Tree

C Program for TAIL command of UNIX

Length of the longest substring without repeating characters

C++ OOPs Part2

FizzBuzz Solution C C++

Find and print longest consecutive number sequence in a given sequence in O(n)

Closed Parentheses checker

Trie Dictionary

Copyright © 2026 · Genesis Framework · WordPress · Log in