Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Filter by
Sorted by
Tagged with
5 votes
1 answer
1k views

ROT13 cipher challenge (HackerRank)

I just started learning Ruby and thought that this relatively simple HackerRank challenge would be a good opportunity to try to write clean, tested and documented code without getting bogged down in ...
Phrancis's user avatar
  • 20.5k
10 votes
2 answers
8k views

Converting Morse Code

Challenge Write a program which reads a file containing Morse Code and outputs the conversion. Specifications The first argument is a path to a file. The file contains multiple lines. Each line ...
Legato's user avatar
  • 9,919
2 votes
1 answer
993 views

Anagram in Scala

Code ...
CodeYogi's user avatar
  • 5,177
2 votes
1 answer
1k views

TDD: String Calculator Kata

String Calculator Create a simple String calculator with a method int Add(string numbers). The method can take 0, 1 or 2 numbers, and will return ...
Caridorc's user avatar
  • 28k
1 vote
2 answers
680 views

Counting length-2 substrings that are common to two strings at the same offset -- Python

I solved the CodingBat task: Given 2 strings, a and b, return the number of the positions where they contain the same length 2 substring. So "xxcaazz" and "xxbaaz" yields 3, since ...
Caridorc's user avatar
  • 28k