• 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

ADOBE Aptitude C Language Test

Introduction To Number Theory ( Part 1 )

Best Java Book | Top Java Programming Book for Beginners

Implement LRU Cache

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

Number of Islands BFS/DFS

Connect n ropes with minimum cost

Printing Longest Common Subsequence

Maximum path sum between two leaves

VMWare SDEII Interview

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

Interfaces in C++ (Abstract Classes in C++)

TicTacToe Game As Asked in Flipkart

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

Binary Tree in Java

Right view of Binary tree

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

Given a string, find the first character which is non-repetitive

Count Possible Decodings of a given Digit Sequence

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

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

C++ OOPs Part2

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

Apriori algorithm C Code Data Mining

flattens 2 D linked list to a single sorted link list

Find position of the only set bit

SAP Hiring Off-Campus General Aptitude

Serialise Deserialise N-ary Tree

Closed Parentheses checker

Find the element that appears once others appears thrice

Copyright © 2026 · Genesis Framework · WordPress · Log in