Skip to content

niufuren/bigdatr_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drone coding test for Bigdatr

Requirement

  • install python 2.7
  • install pip
  • pip install nose (python unit test tool)

Run code

Part1: python src/drone.py input.txt

Part2: python src/multiple_drone.py input.txt

Output

Part1:
The number of billboards that are captured at least once is 997
The coordinate of the final location of the drone is (13, 138)

Part2:
The number of billboards that are captured by two drones at least once is 955
The coordinate of the final location of the first drone is (-29, 52)
The coordinate of the final location of the second drone is (42, 86)

Run test

nosetests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages