• 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

Connect n ropes with minimum cost

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

Implement LRU Cache

Generic Object Oriented Stack with Template

ADOBE Aptitude C Language Test

Find min element in Sorted Rotated Array (Without Duplicates)

flattens 2 D linked list to a single sorted link list

Closed Parentheses checker

Flipkart SDET Interview Experience

Sort an array according to the order defined by another array

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

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

The greedy coins game Dynamic Programming

LeetCode: Container With Most Water

Common Ancestor in a Binary Tree or Binary Search Tree

Walmart Labs Interview Experience

Diagonal Traversal of Binary Tree

C Program for TAIL command of UNIX

Knight Tour Problem (Graph – Breadth First Search)

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

Max Sum in circularly situated Values

Templates in C++

Find shortest distances between every pair of vertices ( Dynamic Programming Floyd Warshall Algorithm)

Test Cases for Round Function

Get K Max and Delete K Max in stream of incoming integers

Find loop in Singly linked list

Best Java Book | Top Java Programming Book for Beginners

How strtok() Works

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

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

Copyright © 2025 · Genesis Framework · WordPress · Log in