This file contains hidden or 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
# Rotate Brackets - Casidoo Problem | |
# Given a string of brackets, return a rotation of those brackets that is balanced. | |
# The numbers of opening and closing brackets will always be equal, so [ or ][] won’t be given as inputs. | |
# Example: | |
# rotateBrackets(‘]][][[‘) | |
# ‘[[]][]’ // First rotation yields ‘[]][][‘. Second one yields ‘[[]][]’. | |
def rotateBrackets(inputString): |
This file contains hidden or 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
choco install \ | |
obsidian | |
7zip.install | |
# anki # Flash cards | |
# caffeine | |
chocolatey | |
# clonespy | |
ConEmu | |
# cutepdf | |
# Cygwin |