You are not logged in. Please login at to post your questions!


can anyone provide program for this

In a string, a "run" is a substring with consisting of consecutive occurrences of the same character. For example, the string "mississippi" contains the following runs - "ss", "ss" and "pp".

In this question, given a string, you have to output the length of the longest run in the string

asked 17 Sep '17, 16:52

jay1311's gravatar image

accept rate: 0%

its pretty straight forward here


answered 17 Sep '17, 17:08

phantomhive's gravatar image

accept rate: 0%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 17 Sep '17, 16:52

question was seen: 167 times

last updated: 17 Sep '17, 17:08