distance

CF

Distance Travelled + or –

The program must accept a string S representing the direction of movement as the input. The string S contains only the…
CF

Minimum Distance between words

A string S is passed as the input.Two words w1 and w2 which are present in the string S are also passed as the input. The program  must…
PythonF

Morning Walk Distance

A man in order to reduce his weight walks along the boundary of a rectangular plot every morning. Depending on his energy level he walks for N…
PythonF

Minimum distance points

Given ‘n’ points in an X-Y plane , write an algorithm and the subsequent Python code to determine the pair of points that are…