Memoization
Imports
open Seq;
open Pair;
Functions
def collisions (key : Int) (label : Int) (seen : (Seq (Pair Int Int))) : Int
def containsKey (key : Int) (seen : (Seq (Pair Int Int))) : Bool
def scoreAcc (candidate : (prefix : (Seq Int)) → Int) (cases : (Seq (Pair (Seq Int) Int))) (seen : (Seq (Pair Int Int))) : Int
def partitionScore (candidate : (prefix : (Seq Int)) → Int) (cases : (Seq (Pair (Seq Int) Int))) : Int