forked from hariharank12/Scala-Counting-Cells-in-Sector
-
Notifications
You must be signed in to change notification settings - Fork 0
bucketsize/Scala-Counting-Cells-in-Sector
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is to calculate Largest Sector in a Grid. More here http://technicalshowoff.blogspot.in/2011/04/counting-cells-in-sector.html to find the description of the problem. To define inputs, change the line at number 14 in LargestArea.scala, the following(which can be input from say AWT or Swing) def getFilledCells = Set((0,0), (0,1), (0,2), (1,2), (2,0), (2, 1)) //Your input comes here To run the sample, scalac -d ./class LargestArea.scala scala -classpath ./class:. area.LargestArea //To run as Java java -classpath /usr/share/scala/lib/scala-library.jar:./class:. area.LargestArea
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published