Tagged in

Rookie Rank 2

Codebrace
Codebrace
Coding blog to help people get going with Competetive programming, Big Data and other technologies, visit http://medium.com/codebrace
More information
Followers
186
Elsewhere
More, on Medium

KnightL on a Chessboard

Problem Link: KnightL on a Chessboard

KnightL is a chess piece that moves in an L shape. We define the possible moves of KnightL(a,b) as any movement from some position (x1,y1) to some (x2,y2) to some satisfying either of the following:


Minimum Absolute Difference in an Array

Problem Link: Minimum Absolute Difference in an Array

Consider an array of integers, A=a0,a1,……..an-1. We define the absolute difference between two elements, ai and aj ,where(i != j) to be the absolute value ai — aj.


Migratory Birds

Problem Link: Migratory Birds

A flock of n birds is flying across the continent. Each bird has a type, and the different types are designated by the ID numbers 1, 2, 3, 4, and 5.