5 kyu

Largest product in a series

1,346 of 3,660JaniL

Description:

Complete the greatestProduct method so that it'll find the greatest product of five consecutive digits in the given string of digits.

For example: the greatest product of five consecutive digits in the string "123834539327238239583" is 3240.

The input string always has more than five digits.

Adapted from Project Euler.

Mathematics
Algorithms

Stats:

CreatedNov 29, 2013
PublishedNov 29, 2013
Warriors Trained5015
Total Skips185
Total Code Submissions10736
Total Times Completed3660
JavaScript Completions1346
Haskell Completions306
Ruby Completions438
Python Completions1641
Julia Completions14
Total Stars61
% of votes with a positive feedback rating91% of 461
Total "Very Satisfied" Votes384
Total "Somewhat Satisfied" Votes67
Total "Not Satisfied" Votes10
Total Rank Assessments6
Average Assessed Rank
5 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
6 kyu
Ad
Contributors
  • JaniL Avatar
  • jhoffner Avatar
  • bkaes Avatar
  • GiacomoSorbi Avatar
  • JohanWiltink Avatar
  • Voile Avatar
  • Darshan97 Avatar
  • stellartux Avatar
  • ejini战神 Avatar
  • saudiGuy Avatar
Ad