• 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

Mathematical

Add Sub Multiply very large number stored as string

August 10, 2014 by Dhaval Dave

Very large number like 2994320121 and 125346232 is given in character string.
You need to add, subtract and multiply two numbers and store number in character array only.

Logic
1) First way to create a
… Read More

Filed Under: Amazon Interview Question, Interview Questions, Microsoft Interview Questions Tagged With: Mathematical, string

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

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

July 17, 2014 by Dhaval Dave

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

Design an algorithm such that we have to find the k th element in the array such that their only prime factors are 3,5

… Read More

Filed Under: Adobe Interview Questions, Interview Questions, Microsoft Interview Questions, problem Tagged With: Mathematical, Queue

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

July 10, 2014 by Dhaval Dave

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

You have a rectangular chocolate bar that consists of width x height square tiles. You can split it into two rectangular … Read More

Filed Under: Array, Flipkart Interview Questions, Hacker Earth Questions, Interview Questions, problem Tagged With: Array, Mathematical

Find Pythagorean Triplets in an array in O(N)

March 27, 2014 by Dhaval Dave

Find Pythagorean Triplets in an array

We have an array in which random integers are there. we need to find Pythagorean triplets.
which solves equation a^2 + b^2 = c^2.
Method 1 : Brute Force
… Read More

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

building with N steps, we can take 1,2,3 steps calculate number of ways to reach at top of building

March 24, 2014 by Dhaval Dave

Given n stairs, how many number of ways can you climb if u use either 1, 2 or 3 at a time?

When you find any difficult problem first step is to reduce it to
… Read More

Filed Under: Adobe Interview Questions, problem, Puzzle Tagged With: Mathematical

  • « Previous Page
  • Page 1
  • Page 2

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

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

1014 Practice Question of New GRE – Princeton

Maximum of all subarrays of size k

HackeEarth Flipkart’s Drone

Best Java Book | Top Java Programming Book for Beginners

Linked List V/S Binary Search Tree

25 horses 5 tracks Find 3 fastest puzzle

Circular Linked List

Templates in C++

Closed Parentheses checker

Fibonacci Hashing & Fastest Hashtable

Serialise Deserialise N-ary Tree

Find an index i such that Arr [i] = i in array of n distinct integers sorted in ascending order.

Level order traversal in Spiral form

Maximum path sum between two leaves

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

Stock Buy Sell to Maximize Profit

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

Generate largest number arranging a no. of given non negative integer numbers

Walmart Labs Interview Experience

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

How Radix sort works

Reversal of LinkedList

Print Power Set of a Set

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 ?

Skiing on Mountains Matrix

Edit Distance ( Dynamic Programming )

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

Mirror of Tree

strtok()

Copyright © 2025 · Genesis Framework · WordPress · Log in