Skip to content

Commit 6a9a90e

Browse files
Merge pull request #362 from ricemery/grade-school
Add file with expected interface. Refs #137
2 parents 5da60e0 + 13d2a8e commit 6a9a90e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
class School {
2+
type DB = Map[Int, Seq[String]]
3+
4+
def add(name: String, g: Int) = ???
5+
6+
def db: DB = ???
7+
8+
def grade(g: Int): Seq[String] = ???
9+
10+
def sorted: DB = ???
11+
}

0 commit comments

Comments
 (0)