Coding Interview Question and Answer: Longest Consecutive Characters @CSDojo
Coding Interview Question and Answer: Longest Consecutive Characters  @CSDojo
Uploaded March 2017 | Updated November 2026, 17 hours ago
Given a string, find the longest subsequence consisting of a single character. Example: longest("ABAACDDDBBA") should return {'D': 3}.

*Just getting started with coding interviews? Check out my "Get Ready for Your Coding Interview" course on Lynda.com:
lynda.com/Software-Development-tutorials/How-Ace-Developer-Interview/576698-2.html?lpk35=9181&utm_medium=ldc-partner&utm_source=CMPRC&utm_content=524&utm_campaign=CD20605&bid=524&aid=CD20605
(You'll get a 30-day trial with the link)
Coding Interview Question and Answer: Longest Consecutive CharactersFacebook Coding Interview Question - How Many Ways to Decode This Message?Real Talk with Google Software EngineerUsing Boolean in Python (Python Tutorial #11)What’s It Like To Be A Program Manager Intern At Microsoft? (LIVE with a former Microsoft intern)Introduction to Hash Tables and Dictionaries (Data Structures & Algorithms #13)Introduction To Lists In Python (Python Tutorial #4)Think youre not smart enough to work at Google? Well, think again.How to Crack a Google Coding Interview - An Ex-Googler’s GuideAnnouncing Our First Meetup (in Toronto) + Discord Server!What Is Dynamic Programming and How To Use ItClasses and Objects with Python - Part 1 (Python Tutorial #9)
CS Dojo |

Coding Interview Question and Answer: Longest Consecutive Characters

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER