7 kyu

Numbers in strings

2,222 of 7,499KenKamau

Description:

In this Kata, you will be given a string that has lowercase letters and numbers. Your task is to compare the number groupings and return the largest number. Numbers will not have leading zeros.

For example, solve("gh12cdy695m1") = 695, because this is the largest of all number groupings.

Good luck!

Please also try Simple remove duplicates

Strings
Algorithms

Stats:

CreatedOct 10, 2017
PublishedNov 2, 2017
Warriors Trained12730
Total Skips222
Total Code Submissions22337
Total Times Completed7499
JavaScript Completions2748
Python Completions2222
C# Completions515
Lua Completions193
Crystal Completions14
Ruby Completions264
Haskell Completions119
CoffeeScript Completions14
Dart Completions162
PHP Completions239
TypeScript Completions183
C++ Completions434
Java Completions616
Rust Completions115
Total Stars123
% of votes with a positive feedback rating93% of 1148
Total "Very Satisfied" Votes1008
Total "Somewhat Satisfied" Votes126
Total "Not Satisfied" Votes14
Total Rank Assessments10
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • KenKamau Avatar
  • GiacomoSorbi Avatar
  • dinglemouse Avatar
  • imjasonmiller Avatar
  • Blind4Basics Avatar
  • Voile Avatar
  • Souzooka Avatar
  • hobovsky Avatar
  • username0 Avatar
  • user8436785 Avatar
  • Just4FunCoder Avatar
  • XoRMiAS Avatar
Ad