🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at
research.exercism.io
🎉
Sign up
Log in
Home
Language tracks
Vim script track
Exercises
Exercises on the Vim script track
Join the Vim script Track
20 exercises to help you master Vim script
easy
Hello World
The classical introductory exercise. Just say "Hello, World!"
strings
easy
Leap
Given a year, report if it is a leap year.
booleans
conditionals
integers
logic
medium
Hamming
Calculate the Hamming difference between two DNA strands.
equality
loops
strings
easy
Raindrops
Convert a number to a string, the content of which depends on the number's factors.
conditionals
filtering
strings
easy
Scrabble Score
Given a word, compute the Scrabble score for that word.
dict
loops
strings
easy
Word Count
Given a phrase, count the occurrences of each word in that phrase.
dict
loops
easy
Bob
Bob is a lackadaisical teenager. In conversation, his responses are very limited.
conditionals
strings
easy
RNA Transcription
Given a DNA strand, return its RNA Complement Transcription.
misc
medium
Anagram
Given a word and a list of possible anagrams, select the correct sublist.
filtering
parsing
sorting
strings
easy
Difference Of Squares
Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.
math
algorithms
easy
Atbash Cipher
Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.
algorithms
cryptography
strings
transforming
easy
Roman Numerals
Write a function to convert from normal numbers to Roman Numerals.
numbers
transforming
easy
Phone Number
Clean up user-entered phone numbers so that they can be sent SMS messages.
conditionals
formatting
regexp
strings
transforming
medium
Nucleotide Count
Given a DNA string, compute how many times each nucleotide occurs in the string.
dict
parsing
strings
medium
Allergies
Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.
bitwise
sorting
easy
Triangle
Determine if a triangle is equilateral, isosceles, or scalene.
booleans
conditionals
logic
easy
ETL
We are going to do the `Transform` step of an Extract-Transform-Load.
dict
loops
transforming
easy
Beer Song
Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.
formatting
loops
strings
easy
Largest Series Product
Given a string of digits, calculate the largest product for a contiguous substring of digits of length n.
math
algorithms
integers
sequences
easy
Pangram
Determine if a sentence is a pangram.
loops
strings