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)

Random
Sequence conversion[2007-02-26 23:42:18]   
Given the sequence S1 = {a,b,c,d,...,x,y,z,aa,ab,ac.... } and given that this sequence corresponds (term for term) to the sequence S2 = {1,2,3,4,....}
Write code to convert an element of S1 to the corresponding element of S2. Write code to convert an element of S2 to the corresponding element of S1.
linkAuthor:premTags: puzzle | algorithms | codingAnswer

Virtual memory management[2007-02-26 23:42:20]   
Assume that you are working on a small device which has a CPU with no MMU (Memory Management Unit) and a limited amount of memory (1M). We want to be able to run apps on the device that may need more than 1M throughout their execution, although they never need more than 1M at any particular instant. We are in control of the operating system running on the device as well as all tools, compilers, linkers, etc. Discuss ideas on implementing a virtual memory management system on the machine.
linkAuthor:premTags: systemAnswer

Hash table to store phone nos[2007-02-26 23:42:18]   
Design a hash table to store phone #s. Your job is to write a hash
function that has a parameter username, and generate a key. Username is
unique, length 5 and can be A-Z, 0-9, space. Write a hash function that
generate keys without collisions and use minimum memory.
linkAuthor:premTags: algorithms | hash1 CommentAnswer





Created by Premchand Jayamohan