Thanks camel-man
Type: Posts; User: viblic
Thanks camel-man
Hello,
I need to gain some basic knowledge on time complexities of algorithms ... Could anyone of you please recommend some resource (book, article, website) on computational complexity. I don't...
Adak, thank you very much for your replies, time and effort. I appreciate this and I mean it.
Certainly, I posted this because there was a problem with it, however, the above program does what it...
Yeah right but the loop only iterates from 1 to 16-1.
for
(i=arrayLen-1; i>=1; i--)
Moreover if I reach the outside bounds, it means I should divide it into valid array bounds such as 15+1,...
Consider the indices as if they were coins and the contents as if they were objects you can buy.
So
0 coins --> 0 objects
1 coins --> 4 objects
2 coins --> 5 objects
If I had 2 coins I...
I know the description was not the best possible, however I'll try to give a smaller instance of the problem, so that you can help me out.
I have a table like this
0 1 2 (indices of the...
I have a problem like this (knapsack type of problem): I have an array of these values.
table [16] = { 0, 1, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 53 }
Given an index, I have to divide that...
I have some x and y coordinates that make a convex polygon. I need to connect 2 of these coordinates such that they cut the polygon into 2 new polygons and the respective areas of these 2 polygons...