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
{ | |
"x-value": -1.2, | |
"y-value": -5.2 | |
} |
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
{ | |
"transformY": 5, | |
"transformX": 1.2, | |
"transformZ": 0.11 | |
} |
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
def shift_vector(array, i) | |
i.times { array.push(array.shift) } | |
array | |
end | |
#Given a dictionary Find all of the sets of anagrams | |
#For instance, pots, stop, and tops |
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
def shift_vector(array, i) | |
i.times { array.push(array.shift) } | |
array | |
end | |
#Given a dictionary Find all of the sets of anagrams | |
#For instance, pots, stop, and tops |