Skip to content

Instantly share code, notes, and snippets.

@damionjunk
Created November 27, 2011 18:31
Show Gist options
  • Save damionjunk/1397938 to your computer and use it in GitHub Desktop.
Save damionjunk/1397938 to your computer and use it in GitHub Desktop.
Is our string balanced?
(defn b-balanced? [s]
"Is the provided string bracket balanced?"
(empty? (b-reduction s)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment