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
Storage allocation
[
2007-02-26 23:42:20
]   
Describe about storage allocation and scope of global, extern, static, local and register variables?
link
Author
:
prem
Tags
:
coding
|
c++
Answer
Prove that n*(n+1)*(2*n+1) is divisible by 6, for any n>0
[
2007-02-26 23:42:22
]   
Prove that n*(n+1)*(2*n+1) is divisible by 6, for any n>0
link
Author
:
prem
Tags
:
math
1 Comment
Answer
Array duplication problem
[
2007-02-26 23:42:17
]   
Given an array of length N containing integers between 1 and N,
determine if it contains any duplicates.
link
Author
:
prem
Tags
:
arrays
|
duplication
6 Comments
Answer
Removing duplicates in array
[
2007-02-26 23:42:17
]   
An array of size k contains integers between 1 and n. You are given an
additional scratch array of size n. Compress the original array by
removing duplicates in it. What if k << n?
link
Author
:
prem
Tags
:
arrays
|
duplication
1 Comment
Answer
Created by
Premchand Jayamohan