• 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

VMWare Openings

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

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

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

Maximum sum contiguous subarray of an Array

Find loop in Singly linked list

CodeChef Code SGARDEN

Trapping Rain Water

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

Python String and numbers

Find the smallest window in a string containing all characters of another string

Minimum insertions to form a palindrome

BFS (Breath First Search)

FizzBuzz Solution C C++

Convert number to words java

LeetCode : Word Search

Maximum path sum between two leaves

Print Power Set of a Set

Amazon Interview Experience – SDE Chennai

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

System Design: Designing a LLD for Hotel Booking

Connect n ropes with minimum cost

Wrong Directions given find minimum moves so that he can reach to the destination

Common Ancestor in a Binary Tree or Binary Search Tree

Level order traversal in Spiral form

Given a float number convert it into the string WITHOUT using any inbuilt Function

Best Java Book | Top Java Programming Book for Beginners

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

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

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

Copyright © 2026 · Genesis Framework · WordPress · Log in