iteriani / Soho

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Soho

TO compile :

javac BiQueue.java BiPriorityQueue.java Solution.java

To run

java Solution < [FILE]

This expects a file format containing

NUMBER OF INSTRUCTIONS INSTRUCTION

Where instruction is either I [NUMBER], D 1, or D -1

At the end, it will output either EMPTY, MAX __, or MAX MIN

About


Languages

Language:Java 100.0%