Puzzle CornerSign In
HomeFeedbackBlogResourcesAbout
Starred
Add Question
All (696)
coding (266)
c++ (157)
algorithms (151)
puzzle (134)
CS Fundamentals (83)
oop (55)
arrays (45)
internet (40)
string (34)
math (31)
databases (28)
system (26)
probability (26)
networking (25)
linkedlist (24)
binarytrees (24)
tree (22)
bit manipulation (19)
sorting (11)
stack (10)
bst (9)
java (8)
xml (8)
sql (7)
next in series (7)
traversal (6)
graph (4)
debugging (4)
lateral thinking (4)
palindrome (4)
mysql (4)
prime (4)
general (4)
unix (3)
CGI (3)
duplication (3)
threading (3)
random (3)
search (3)
fibonacci (3)
encryption (3)
joins (3)
hash (3)
queue (3)
asm (3)
design patterns (2)

next »

Random
Traverse leaf nodes of the binary tree[2007-02-26 23:42:17]   
Write code to traverse leaf nodes of the binary tree
linkAuthor:premTags: algorithms | binarytrees | tree2 CommentsAnswer

Keys storage & access[2007-02-26 23:42:18]   
Given a set of KEY->VALUE pairs such that each KEY is unique, describe a method of storing these pairs on disk, and a method for accessing the corresponding VALUE given a KEY. Assume that RAM is fixed at 1gb and the set of pairs requires 40gb.

HINT: we are trying to minimize page-transfers
linkAuthor:premTags: system1 CommentAnswer

Normalization[2007-02-26 23:42:20]   
What is "normalization"? "Denormalization"? Why do you sometimes want to denormalize?
linkAuthor:premTags: databasesAnswer

What are the tradeoffs with having indexes in databases?[2007-02-26 23:42:20]   
What are the tradeoffs with having indexes in databases??
linkAuthor:premTags: databasesAnswer

What is a "transaction"? Why are they necessary?[2007-02-26 23:42:20]   
What is a "transaction"? Why are they necessary?
linkAuthor:premTags: databasesAnswer

What is a Unique Key?[2007-02-26 23:42:21]   
What is a Unique Key?
linkAuthor:premTags: databasesAnswer

Write SQL[2007-02-26 23:42:21]   
There is an EMPLOYEES(ID, NAME, MANAGER_ID) table. MANAGER_ID points to the ID column of the same table. Given a manager name (assuming ID is unique and NAME is unique), what kind of SQL query would you write to retrieve all employees directly managed by this manager? What is the query to get employees 2 levels down? Is there a way to write a query to get employees N levels down? Is there another way of organising this table (different columns?) to hold these kinds of tree structures?
linkAuthor:premTags: databases | sqlAnswer

What is a "primary key"?[2007-02-26 23:42:20]   
What is a "primary key"?
linkAuthor:premTags: databasesAnswer

What is a Unique Index?[2007-02-26 23:42:21]   
What is a Unique Index?
linkAuthor:premTags: databasesAnswer

Advantages of InnoDB over MyISAM?[2007-02-26 23:42:21]   
Explain advantages of InnoDB over MyISAM?
linkAuthor:premTags: databases | mysqlAnswer

What is a Stored Procedure? How is a Stored Procedure useful?[2007-02-26 23:42:21]   
What is a Stored Procedure? How is a Stored Procedure useful?
linkAuthor:premTags: databases | sql1 CommentAnswer

DB questions[2007-09-03 23:08:45]   
3 DB questions What id the difference between clustered and non clustered index? What is the difference between \'having\' and \'where\' What is query optimization??
linkAuthor:premTags: coding | CS Fundamentals | databases | mysql | sqlAnswer


next »




Created by Premchand Jayamohan