Questions tagged [morse]

For challenges related to Morse code.

Filter by
Sorted by
Tagged with
30 votes
17 answers
7k views

.-...--..---.-...--..... the red-nosed reindeer

Can you recover a sequence of letters from a sequence of dots and dashes? In Morse code, x is represented by -..-, but without ...
Dustin G. Mixon's user avatar
-1 votes
1 answer
283 views

Morse sudo-ku-de

Hehe, see what I did with the title? Anyways... Your job is to create a sudoku solver that accepts input in Morse code and creates output in Morse code. Here's the Morse code numbers for reference: <...
moltarze's user avatar
  • 2,570
23 votes
30 answers
3k views

They call me Inspector Morse

A string is dot-heavy when its morse representation contains more dots than dashes. For example, the letter E is a single dot, which means it is Dot-heavy. Input The input string will only contain ...
Bassdrop Cumberwubwubwub's user avatar
17 votes
15 answers
2k views

Is this string a palindrome (in Morse Code)?

Challenge Inspired by this video. As you may know, a palindrome is a word that is spelled the same forward as it is backward. The word "PULP" is not a palindrome, but when translated into ...
Cowabunghole's user avatar
  • 1,650
35 votes
19 answers
4k views

Translate Morse code based on tone duration

Goal Morse code is often represented as sound. Given a stream of bits that represent whether sound is on or off, translate the stream into letters and numbers and spaces. Specifics The bit stream ...
Hand-E-Food's user avatar
  • 8,740
25 votes
20 answers
3k views

Write a formatted Morse code cheatsheet

Challenge: Write a program that produces the following output: ...
Locoluis's user avatar
  • 741
23 votes
5 answers
1k views

Write a Morse Calculator

Write a program or function that takes a mathematical expression in Morse code as input, and returns the solution in Morse code. Valid operations are plus: + and ...
Stewie Griffin's user avatar
7 votes
3 answers
580 views

Retrograde morse (d)e(n)coder

This question is inspired by retrograde music. Retrograde music is a piece of music that can both be played normally (from the beginning to the end) as reversed (from the end the beginning). A similar ...
Def's user avatar
  • 642
34 votes
14 answers
3k views

Morse the New Year

This is Weekly Challenge #1. Theme: Audio Processing Your task is to write a program, which writes an audio file to disc (in a format of your choice), which contains the Morse code for ...
Martin Ender's user avatar
27 votes
7 answers
7k views

Morse Decode Golf

I've become alarmed with the growing hatred of spaces and this answer has inspired me to make sure Morse code is safe from this insidious removal of whitespace. So, your task will be to create a ...
Comintern's user avatar
  • 3,712
7 votes
10 answers
2k views

Write a hash function for Morse Code [closed]

Your goal is to write a hash function, that accepts morse code character and returns a hash code that you get to define. You can be sure, passed string will be: One of the Latin characters (A-Z) ...
awesoon's user avatar
  • 189
14 votes
7 answers
2k views

Morse code to standard output

This question involves taking input in Morse code as . (period) and - (minus symbol), with spaces to separate the input. Your task is to convert the code to standard output. You can assume that the ...
user avatar
7 votes
5 answers
2k views

Morse code generator in sound [closed]

Inspired by the Morse code question, and the Twinkle Twinkle little star question, write a program to accept a letter and generate the morse code audio for that letter.
Phillip Senn's user avatar
38 votes
26 answers
33k views

Morse code translator

Write the shortest program to transform the standard input into Morse code. Characters not in the table should be printed as they are.
Alexandru's user avatar
  • 6,154