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
What are ACID properties?[2007-02-26 23:42:20]   
What are ACID properties?
linkAuthor:premTags: databasesAnswer

Fruit problem[2007-02-26 23:42:21]   
You have three picnic baskets filled with fruit. One has apples, one has oranges, and the third has a mixture of apples and oranges. You cannot see the fruit inside the baskets. Each basket is clearly labeled. Each label is wrong. You are permitted to close your eyes and pick one fruit from one basket, then examine it. How can you determine what is in each basket?
linkAuthor:premTags: puzzleAnswer

[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

Intersection of lists[2007-05-29 04:24:05]   
You are given n variable length lists. Give an order n algorithm to find the intersection of these lists.
linkAuthor:premTags: linkedlist2 CommentsAnswer

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

Intersection node of 2 linked lists[2007-02-26 23:42:20]   
You are given two singly linked lists, such that they start from two different nodes (head) and then, a few nodes down the list, they meet at a common node and then share all the nodes henceforth until the tail. The task is to find the first common node.
linkAuthor:premTags: linkedlist1 CommentAnswer

Implement class Stack using a linked list.[2007-02-26 23:42:18]   
Implement class Stack using a linked list.
linkAuthor:premTags: algorithms | coding | linkedlist | stackAnswer

Print linked list in reverse order[2007-02-26 23:42:18]   
Code: print a linked list in reverse order
- Can you do this in O(n) time, O(1) memory? [O(1) memory = no recursion]
linkAuthor:premTags: linkedlist1 CommentAnswer

Linked list loop detection[2007-02-26 23:42:17]   
Given a singly linked list, determine whether it contains a loop or not.
linkAuthor:premTags: linkedlistAnswer

Deleting node from circular linked list[2007-10-03 10:45:52]   
You are given a circular single linked list of sufficiently many number of nodes(in the millions). You need to delete a node say P and you are given a pointer to P in the circular single list. Suggest the most efficient methodology of deleting the node P from the circular single linked list without rounding about the circular single linked list.
linkAuthor:premTags: algorithms | coding | c++ | linkedlist2 CommentsAnswer

Linked list transformation[2007-02-26 23:42:17]   
If you have existing list linked list, and you are given a new one...
make as few updates as possible to transform the old list into the new one.
linkAuthor:premTags: algorithms | linkedlist1 CommentAnswer

Convert Binary Tree to Linked list[2007-02-26 23:42:22]   
Imagine you have an unbalanced binary search tree. Now make a linked list of all the nodes at every depth(level) of the tree. Assume every node along with a left and a right pointer also has a next pointer. To make the linked list inside the binary tree for every level, the next pointer of the first node at every depth should point to the next node at the same depth in the tree and so on for the other nodes. What is the complexity of your algorithm. Improve the efficiency.Code the algorithm and then thoroughly test it?
linkAuthor:premTags: algorithms | linkedlist | binarytrees1 CommentAnswer


next »




Created by Premchand Jayamohan