• 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

Implement a generic binary search algorithm for Integer Double String etc

March 20, 2014 by Dhaval Dave

A Simple Binary Search for Integers

BinarySearch(A[0..N-1], value) 
{
   low = 0
   high = N - 1
   while (low <= high) {
       mid = low + ((high - low) / 2)
       if (A[mid] > value)
           
… Read More

Filed Under: problem Tagged With: algorithm

Linked List V/S Binary Search Tree

March 19, 2014 by Dhaval Dave

Linked List :

Node(1) -> Node(2) -> Node(3) -> Node(4) -> Node(5) -> Node(6) -> Node(7)
  • In linked list, the items are linked together through a single next pointer.
  • Next Node’s Key Can be larger
… Read More

Filed Under: problem Tagged With: Binary Search Tree, BST, Linked List

Adobe Interview Questions 8 month Exp

March 19, 2014 by Dhaval Dave

Adobe Interview Questions Set 1

For Experience : 8 months
 
First Round :
Held on interview street Aptitude + Technical (standard pattern and questions)
Check Questions : Adobe C,Aptitude Written Questions Answers
… Read More

Filed Under: Adobe Interview Questions, Interview Experience

Binary Tree in Java

March 19, 2014 by Dhaval Dave

Implementation of Binary Tree in Java Language.

import java.io.*;
import java.util.*;
class Node
   {
   public int iData;              // data item (key)
   public double dData;           // data item
   public Node leftChild;         // this node's left child
   
… Read More

Filed Under: problem Tagged With: Binary Tree, Java

Spanning Tree

March 1, 2014 by Dhaval Dave

In the mathematical field of graph theory, a spanning tree T of a connected, undirected graph G is a tree that includes all of the vertices and some or all of the edges of G.

… Read More

Filed Under: problem Tagged With: Graph, tree

BFS (Breath First Search)

March 1, 2014 by Dhaval Dave

In graph theory, breadth-first search (BFS) is a strategy for searching in a graph when search is limited to essentially two operations: (a) visit and inspect a node of a graph; (b) gain access to

… Read More

Filed Under: problem Tagged With: Binary Tree, Graph, tree

DFS (Depth First Search)

March 1, 2014 by Dhaval Dave

DFS BFS Graph traversal

Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. One starts at the root (selecting some arbitrary node as the root in the case of a graph) and explores

… Read More

Filed Under: problem Tagged With: Binary Tree, Graph, tree

Doubly linked list

February 26, 2014 by Dhaval Dave

Doubly Linked List

In computer science, a doubly-linked list is a linked data structure that consists of a set of sequentially linked records called nodes. Each node contains two fields, called links, that are references to the previous

… Read More

Filed Under: problem Tagged With: Linked List

Circular Linked List

February 26, 2014 by Dhaval Dave

Circular Linked List

In the last node of a list, the link field often contains a null reference, a special value used to indicate the lack of further nodes. A less common convention is to make it point

… Read More

Filed Under: problem Tagged With: Linked List

Singly linked list

February 25, 2014 by Dhaval Dave

Singly Linked List
In computer science, a linked list is a data structure consisting of a group of nodes which together represent a sequence. Under the simplest form, each node is composed of a datum and a reference
… Read More

Filed Under: problem Tagged With: Linked List

  • « Previous Page
  • Page 1
  • …
  • Page 15
  • Page 16
  • Page 17
  • Page 18
  • Next Page »

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

Find the element that appears once others appears thrice

Reversal of LinkedList

Longest Increasing Subsequence

Find if two rectangles overlap

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

Maximum size of square sub matrix with all 1’s in a binary matrix

How Radix sort works

Hackerearth : Counting Subarrays

Find loop in Singly linked list

Naurki.com Security Breach

The Magic HackerEarth Nirvana solutions Hiring Challenge

Convert number to words java

Check Binary Tree is Binary Search Tree or not

TicTacToe Game As Asked in Flipkart

strtok()

Closed Parentheses checker

Connect n ropes with minimum cost

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

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

Test Cases for Round Function

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

Find two non repeating elements in an array of repeating elements

FizzBuzz Solution C C++

SAP Off Campus Hiring_ March 2015 Computer Skills

Mirror of Tree

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

Stock Buy Sell to Maximize Profit

Printing Longest Common Subsequence

In Given LinkedList Divide LL in N Sub parts and delete first K nodes of each part

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

Copyright © 2026 · Genesis Framework · WordPress · Log in