Puzzle Corner
Sign In
Home
Feedback
Blog
Resources
About
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)
Random
What is a "primary key"?
[
2007-02-26 23:42:20
]   
What is a "primary key"?
link
Author
:
prem
Tags
:
databases
Answer
Light switches problem
[
2007-02-26 23:42:16
]   
In your cellar there are three light switches in the OFF position. Each
switch controls 1 of 3 light bulbs on floor above. You may move any of
the switches but you may only go upstairs to inspect the bulbs one time.
How can you determine the switch for each bulb with one inspection??
link
Author
:
prem
Tags
:
puzzle
|
lateral thinking
2 Comments
Answer
design patterns
[
2007-02-26 23:42:20
]   
Explain the singleton, visitor, facade, or handle class design pattern. Code is possible.
link
Author
:
prem
Tags
:
coding
|
c++
|
design patterns
1 Comment
Answer
Created by
Premchand Jayamohan