but4er007 / SynchronousShopping

resolve challenge https://www.hackerrank.com/challenges/synchronous-shopping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SynchronousShopping

Resolve challenge https://www.hackerrank.com/challenges/synchronous-shopping

Run test for see ways for two cats and summary timing of travel.

Example:

Way 1: 1 -> 2 -> 3 -> 4 -> 5 -> 4 -> 3 -> 2 -> 1 -> 1000
Way 2: 1 -> 1000 -> 999 -> 998 -> 997 -> 996 -> 997 -> 998 -> 999 -> 1000
Shorter way weight: 9000

About

resolve challenge https://www.hackerrank.com/challenges/synchronous-shopping


Languages

Language:Java 99.4%Language:HTML 0.6%