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
Mutable[2007-02-26 23:42:20]   
What is a mutable member?
linkAuthor:premTags: coding | c++ | oopAnswer

Double pointers[2007-02-26 23:42:18]   
When do you use a double pointer?
linkAuthor:premTags: coding | c++1 CommentAnswer

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

[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

Count set bits[2007-02-26 23:42:17]   
Give a very good method to count the number of ones in a 32 bit
number.(caution: looping through testing each bit is not a solution).
linkAuthor:premTags: coding | bit manipulation4 CommentsAnswer

yet another C++ question[2007-02-26 23:42:19]   
Suppose that objects A, B, and C are instances of class MyClass (MyClass A, B, C;). How should you design an assignment operator so that the "A=B=C;" statement would be allowed by a compiler but "(A=B)=C;" would not be allowed by a compiler?
linkAuthor:premTags: coding | c++ | oop1 CommentAnswer

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

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

Multiple of 3[2007-02-26 23:42:22]   
Write an algorithm to check whether a given unsigned number is a multiple of 3, without using division and modulo operators.
linkAuthor:premTags: coding | bit manipulation2 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

Sum of digits of a given number[2007-02-26 23:42:18]   
Write a function that sums & returns the digits of an unsigned integer.
linkAuthor:premTags: coding | mathAnswer


next »




Created by Premchand Jayamohan