Problem Solving Notes
Pages
(Move to ...)
Home
About
▼
Monday, April 23, 2012
f(f(x)) = -x, A neat Puzzle!
›
I found this problem in some blog that I don't remember: The Problem: Write a C function f(x) that takes an integer x and returns an...
3 comments:
Friday, March 9, 2012
My Practice Log (Google Spreadsheet)
›
Here is the Google spreadsheet that I try to maintain. This helps me to track my progress. Ever since I have started this spreadsheet I...
Saturday, January 28, 2012
A probable mistake while overloading the '<' operator
›
I was not aware of the following basic thing. See the code segment bellow: struct T { int a, b; T(){} T(int _a, int...
3 comments:
Friday, January 27, 2012
SPOJ ORDERSET (With Treap)
›
I LOVE TREAP !! Honestly! Treap is the most beautiful Data Structure I know! In my previous post I solved This Problem with Splay Tr...
5 comments:
A needlessly long but Correct Splay Tree implementation
›
What follows is the Accepted solution of This Problem I wish to write a shorter splay tree soon // Splay Tree Implementation // used f...
Thursday, December 29, 2011
SGU-103 Traffic Lights
›
Problem Link The Problem in short: Given an undirected weighted graph where each node contains a traffic light. The light shows two col...
Friday, July 29, 2011
SPOJ :: KOICOST
›
Problem Link The Problem in Short: Given an undirected weighted graph. There is a function Cost(u,v), which is defined as follows: Wh...
›
Home
View web version