Skip to content
Snippets Groups Projects
  • Utkarsh Upadhyay's avatar
    c8fc1d5b
    Changelist: · c8fc1d5b
    Utkarsh Upadhyay authored
     1. Reduced irksome debug 'warnings' from the code.
     2. Changed (C != {}) to ( |C| > 0 )
     3. Removed duplicated cardinality constraints
    
    Also added a small 'ordered' part to the post condition of dumbInsert. Makes the execution time jump from a few milliseconds to a whooping 12+ minutes.
    
    
    c8fc1d5b
    History
    Changelist:
    Utkarsh Upadhyay authored
     1. Reduced irksome debug 'warnings' from the code.
     2. Changed (C != {}) to ( |C| > 0 )
     3. Removed duplicated cardinality constraints
    
    Also added a small 'ordered' part to the post condition of dumbInsert. Makes the execution time jump from a few milliseconds to a whooping 12+ minutes.
    
    
BinarySearchTree.scala 3.96 KiB