Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z.
Thus, if x = [1 3 5] and y = [0.5 -1 2], then
z = [1*0.5...
Linear system solve
Solve a linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/linsolv1.pdf
1 month ago
Solved
Distances in a circle
A circle (360°) is given and
a row of 6 monotonic increasing numbers with the which difference from last to first value is les...
Matrix rotation as per given angle
Given a user defined matrix and angle of rotation, rotate the elements of output matrix as clockwise or anti-clockwise. Angle wi...
1 month ago
Solved
Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...
The Secret Code of Mars
NASA has intercepted a mysterious signal from Mars filled with random letters and numbers. Scientists believe each number in the...
1 month ago
Solved
The Square Tree of Power
As Arjun crosses the Dividing River, he enters a sacred clearing where a giant glowing tree stands in the center. This is the le...