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
How can you force instantiation of a template?[2007-02-26 23:42:21]   
How can you force instantiation of a template?
linkAuthor:premTags: c++Answer

binary tree color clumps[2007-02-26 23:42:22]   
Given a binary tree where each node's value is a COLOR. A clump is formed when more than 3 COLORS are adjacent to each other. Return the total number of clumps in a binary tree.
linkAuthor:premTags: algorithms | binarytreesAnswer

Streaming problem[2007-02-26 23:42:18]   
Assume your computer is reading characters one by one from a stream (you
don't know the length of the stream before ending). Note that you have
only one character of storage space (so you cannot save the characters
you've read to a something like a strong). When you've finished reading
you should return a character out of the stream with equal probability.
linkAuthor:premTags: algorithms | coding | probability2 CommentsAnswer

Return unique elements in an array[2007-02-26 23:42:19]   
Implement an algorithm to take an array and return one with only unique elements in it.
linkAuthor:premTags: algorithms | arrays3 CommentsAnswer

[2007-10-03 11:02:27]   
Given two sorted linked lists, L1 and L2, write a C program to compute L1 /\\ L2 (L1 intersection L2).
linkAuthor:premTags: algorithms | coding | c++ | sorting | linkedlist3 CommentsAnswer

Rectangle of words[2007-02-26 23:42:18]   
Given a dictionary of millions of words, write a program to find the
largest possible rectangle of letters such that every row forms a word
(reading left to right) and every column forms a word (reading top to
bottom).
linkAuthor:premTags: puzzle | algorithms | coding2 CommentsAnswer

Combination problem[2007-06-14 00:52:27]   
Print all combinations of M members of a set of N elements in a sequence such that each set can be obtained from the previous set by deleting one member and adding one member.
linkAuthor:premTags: algorithms | coding | c++Answer

Implement strtok[2007-02-26 23:42:18]   
Implement strtok: How do you handle consecutive delimiters, end of
string delimiters, and starting delimiters. How would u make it more
efficient (the delimiter loop can be replaced by an associative array,
what is the lenght of the array (255 - Can be reduced to 32)
linkAuthor:premTags: algorithms | stringAnswer

Finding the next prime[2007-02-26 23:42:18]   
Given a number, describe an algorithm to find the next number which is prime.
linkAuthor:premTags: algorithms | coding | prime1 CommentAnswer

Find start of circular linked list[2007-02-26 23:42:22]   
There is a linked list. The last node could point back to any node in the list (including the head). Find the node in the list to which the last node points. Or in other words at which node does the circular linked list start.
linkAuthor:premTags: algorithms | linkedlist2 CommentsAnswer

Top 1 million search requests[2007-02-26 23:42:18]   
Design and describe a system/application that will most efficiently produce a report of the top 1 million search requests. You are given:

1. You are given 12 servers to work with. They are all dual-processor machines with 4Gb of RAM, 4x400GB hard drives and networked together.(Basically, nothing more than high-end PC's)
2. The log data has already been cleaned for you. It consists of 100 Billion log lines, broken down into 12 320 GB files of 40-byte search terms per line.
3. You can use only custom written applications or available free open-source software.
linkAuthor:premTags: algorithms | codingAnswer

Prefix dump[2007-02-26 23:42:18]   
Given an expression a + b * c, give code to do a prefix dump
Ex. a + b * c
|
|
V

+
/
a *
/
b c


|
| (PREFIX DUMP)
V

+ a * bc
linkAuthor:premTags: algorithms | coding4 CommentsAnswer


next »




Created by Premchand Jayamohan