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
6 votes
1 answer
438 views

FORTRAN90 test suite for Project Euler

The intent of this test file is to go through each of my Project Euler solutions and see if they: return the correct answer, and do so in under 60 seconds (unless expected otherwise). I am using ...
Olivia A's user avatar
2 votes
0 answers
68 views

Rainfall challenge: procedural implementation

This evening I have seen the text of the Rainfall Challenge posted seven years ago by Hunter McMillen. I did not look at his solution (besides, I have no clue about perl), but I was intrigued by the ...
Luca Argenti's user avatar
5 votes
1 answer
276 views

Hackerrank: Breaking the records

I'm learning Clojure and am a rank n00b at it, trying to learn from books and online tutorials (but I'm sometimes concerned that I am picking up bad habits or at least not all the good habits). For ...
frIT's user avatar
  • 153
5 votes
3 answers
3k views

Mars Rover technical Challenge in OOP

I am trying to practice OOP and TDD concepts, I have written this code for Mars rover challenge from marsrovertechchallenge . Can you please review my code from my GitHub repository? Or you can ...
Sara Elmenshawy's user avatar
4 votes
3 answers
101 views

Print the first, last, and in-between integers of a range

Given our spec from Code Golf: Given two integers, output the two integers, and then the range between them. The order of the range must be the same as the input. Examples: ...
Marco Tulio Avila Cerón's user avatar
5 votes
2 answers
491 views

LinkedList class implementation in Python

I was solving this problem for implementing LinkedList and ListNode classes, and Insert and <...
NinjaG's user avatar
  • 2,559
9 votes
1 answer
6k views

Mars Rover Kata using TDD and SOLID

I am doing MarsRoverKata exercise just to train my coding skills and I came up with the following solution. A squad of robotic rovers are to be landed by NASA on a plateau on Mars. This ...
Yuliya's user avatar
  • 93
10 votes
1 answer
211 views

TDD approach for Advent of Code challenge: infinite spiral on a grid

I have started the Advent of Code 2017 to learn to use Python and Test Driven Development. I wrote a solution for Day 3, Part 2, and would like to hear some help. Specifically: Do I apply TDD ...
Alexander Engelhardt's user avatar
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
1 vote
2 answers
226 views

Is this FizzBuzz code idiomatic Groovy?

I'm new to Groovy but have some experience with Java, C and Python. I'd appreciate your feedback on Groovy style and features in this FizzBuzz code. Review Checklist Is it idiomatic Groovy code? Can ...
doughgle's user avatar
  • 629
3 votes
1 answer
147 views

General unit tested solution to Project Euler Problem 8: Largest product in a series

Project Euler Problem 8 The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832. ...
Gao's user avatar
  • 1,140
4 votes
1 answer
280 views

Assembly Line Scheduling challenge, solved using TDD

I am new to Test Driven Development and currently practicing it with some problem statement. Following is an Assembly Line Problem statement I solved using TDD approach in java. Please provide me some ...
Sarang Shinde's user avatar
2 votes
1 answer
2k views

Testing an Address Book

I have completed the following coding exercise. However, I got poor result for testing. I need some help to find out what is missed, incorrect, or incomplete in the testing section. I would appreciate ...
Reza's user avatar
  • 23
4 votes
3 answers
207 views

Detecting interesting car mileages

I've had a go at the following challenge (from codewars): Interesting car mileages are 3-or-more digit numbers that meet one or more of the following criteria: Any digit followed by all ...
forsvarir's user avatar
  • 11.8k
3 votes
0 answers
1k views

Roman number converter in Kotlin

I'm learning kotlin and java. As a code-kata I wrote the roman to decimal converter. I'd be very grateful for code review. I was trying to keep things simple and funcional. I'd especially appreciate ...
Sebastian Kramer's user avatar

15 30 50 per page