Created
August 30, 2012 22:09
-
-
Save devinus/3542598 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; [name before after] | |
(def unsorted-injections [['b 'c nil] ['a 'b nil] ['d nil 'c] ['c nil nil] ['e nil 'd]]) | |
; Sort unsorted-injections such that: | |
; 1) a is before b | |
; 2) b is before c | |
; 3) d is after c | |
; 4) e is after d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment