Wednesday, February 22, 2012

Interesting And Practical Problem

I tried to solve some of the problems at interviewstreet.com i found some of the intresting problems there few of them i still remember were k-difference and xor-key problem.

The k-difference problem is the most intresting, according to this problem we have find the combinations of the numbers from the list whose difference equals to k. But the problem does not ends there but a lot other things were there, i.e. Boundary conditions the list is damn large i.e around 1lac nu,bers while the range of numbers in the list were from 0 to 10^5 so computation time the most important factor would be very high if you apply the regula ,ethod of computing the solution.

The average time complexity of your algorithm would be O(n^2). But this algo will not work as the max. Time allocated for the algo is just 3 sec.

But, i have not given up and i have tried but unable to clear all the test cases, but cleared about 10 out of 15...

If you have any idea or solution about this problem then plz. Let me know about it....

I would love to hear abt. It..


Importance of C++ Data Structures

Data Structure is one of the field which we all used to hate, but there are lots of use of Data Structure in an Programming Language w/o the efficient data structure you will make your program highly inefficient. similar to you all i used to hate the data structures but now i have realized its importance.

Data structure is not just the way of arranging the variables and used for fun but the main use of data structure comes when we are solving some of the real-life problems where we need to manipulate with the hell lot of data 's i really means in 10^8 and even more where you need to consider the space and time complexity of the program and need for us to develop the most efficient solution.

Saturday, January 28, 2012

Build Your Own Website The Right Way Using HTML & CSS, 3rd Edition



Build Your Own Website The Right Way Using HTML & CSS, 3rd Edition 
Si tePo int | 2011 | ISBN: 0987090852 | 500 pages | PDF | 11 MB