## HackerRank : Stryker Codesprint- Point Filtering

You are given a main list of entries that consists of 3D points where each point has a unique integer ID, , that corresponds to an coordinate value. You are also given a bucket size, . Then sort the main list by decreasing value (it is guaranteed that the value is distinct), remove the first points, and put… Read More »

## HackerRank : Stryker Codesprint- Minimum Index Difference

Given two arrays, and , of size that both contain permutations of the same set of unique integers, find and print the number having the absolute minimum index difference between the two arrays. In the event of a tie, choose the smallest number. Input Format The first line contains an integer, , denoting the size of the array.… Read More »

## HackerRank : Week of Code 23 – Enclosure

Vigo the Carpathian is an evil feudal lord. He wants to seize land from his serfs by enclosing it with a polygonal fence where each respective side has a strictly specified length. Can you help him maximize the fenced area? Given a sequence of lengths (i.e., ) where each is the length of the side, find a sequence… Read More »

## HackerRank : Week of Code 23 – Gravity Tree

Sarah is young scientist in Neverland who just invented a gravity tree with the following properties: It’s a tree where each vertex is numbered from to and vertex always denotes the root. Each edge has a length of , so a node has a distance of from its parent, a distance of from its grandparent, and so on.… Read More »

## HackerRank : Week of Code 23 – Unexpected Problem

hackerrank-week-of-code-23-unexpected-problem