Abstractions Vigenere Cipher


Problem Descripton

Write a function that takes a string representing one or more ranges of numbers in "short hand" and returns an array of all numbers represented by the ranges. Ranges may be indicated with '-', '..' or ':', and single digits may be used to represent the next integer in a sequence which ends with that digit. Multiple ranges may also be combined into one range. See test cases for clarification.

longhand test cases

Solving the Problem

*The blue comments below are examples of the approach.

longhand solution longhand solution

Abstractions Vigenere Cipher