C Programming - Smashing the stack for fun and profit
An intro to how stack overflow works, how to exploit those and some more shellcodeLabels: C
Posted by - at 8:29 pm | 0 comments read on
Programming - How to be a Programmer
How to be a Programmer: A Short, Comprehensive, and Personal Summary!!!!
Posted by - at 1:49 am | 0 comments read on
C Programming - The Ten Commandments for C Programmers
Dos and dons!!!!Labels: C
Posted by - at 1:39 am | 0 comments read on
Programming - Collections of Algorithms
A good collection of algorithms, rather a Directory of Algorithms!!!
Posted by - at 1:36 am | 0 comments read on
Programming - Introduction to Reverse Engineering Software
Nice article which teachs you various debugging techniques, information amount how stack is maintained, disassembling the code and many more.
Posted by - at 1:30 am | 0 comments read on
C/C++ Programming - Max Sequence
You have an array of n nonzero numbers. The array is randomly filled with positive and negative numbers.Write an algorithm/program to find 2 such indexes in the array, so as the sum of the numbers between these indexes is the maximum.
For e.g. if the array is
10, -20, 9, 8, 3, -12, 6, 3, 4, 1, -5, 3, -1
Then the indexes would be 2 and 9, the sum is 9 + 8 + 3 + -12 + 6 + 3 + 4 + 1 =22
At first glance it might look that the correct answer is 2 and 4, the sum is 9 + 8 + 3 =20
And if u r thinking that if we sum up all, then the sum is 10 + -20 + 9 + 8 + 3 + -12 + 6 + 3 + 4 + 1 + -5 + 3 + -1 = 9.
In some cases it might turn out to be the right one, but not always.
Posted by - at 1:13 am | 1 comments read on