A.
Closest Pair You will be given N pair of coordinates on a 2D space. You will determine distance between the close... |
B.
Knapsack You have a backpack that can carry a maximum weight of C. You will also be given a set of items, the... |
C.
Black or White Imagine an infinite chess board. The cell on the bottom-left most corner is labelled (0,0). The cell... |
D.
Fibonacci Between Given two numbers L and R, you must print all the Fibonacci numbers between L and R (inclusive). Alt... |