You need to sign in or sign up before continuing.×
7 kyu

Trigrams

109 of 1,151 imagostorm

Description:

Trigrams are a special case of the n-gram, where n is 3. One trigram is a continous sequence of 3 chars in phrase. Wikipedia

  • return all trigrams for the given phrase
  • replace spaces with underscore (_)
  • return an empty string for phrases shorter than 3

Example:

"the quick red" --> "the he_ e_q _qu qui uic ick ck_ k_r _re red"
Fundamentals

Stats:

CreatedAug 22, 2015
PublishedAug 23, 2015
Warriors Trained2396
Total Skips452
Total Code Submissions3273
Total Times Completed1151
Ruby Completions109
JavaScript Completions340
Python Completions488
Java Completions275
Prolog Completions4
Total Stars25
% of votes with a positive feedback rating90% of 297
Total "Very Satisfied" Votes248
Total "Somewhat Satisfied" Votes41
Total "Not Satisfied" Votes7
Total Rank Assessments90
Average Assessed Rank
6 kyu
Highest Assessed Rank
4 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  •  imagostorm Avatar
  • NaMe613 Avatar
  • FArekkusu Avatar
  • cliffstamp Avatar
  • stellartux Avatar
  • ejini战神 Avatar
Ad