NCR Corporation Coding Test | Cocubes | Hackerearth

Описание к видео NCR Corporation Coding Test | Cocubes | Hackerearth

Buy TCS NQT Placement preparation book- https://amzn.to/32Wc3Gl
Buy TCS National Qualifier Test Study Guide Paperback - https://amzn.to/2RToUTr
Buy Campus Recruitment Test Guide Paperback - https://amzn.to/32WJtoq
Buy A Complete Manual for Campus Placements Paperback - https://amzn.to/35YGI7I
Buy Quantitative Aptitude for Competitive Examinations - https://amzn.to/347xt2P
A Modern Approach to Logical Reasoning (2 Colour Edition) Paperback- https://amzn.to/2EtLtuQ

You are given the following problem statement-
You’re given a function –

char CompressString(char str);

The function accepts a string as an argument that may contain repetitive characters. Implement the function to modify and return the input string, such that each character once, along with the count of consecutive occurrence. Do not append count if the character occurs only once.

Note –

The string will only contain lowercase English Alphabets
If you have to manipulate the input string in place you cant use another string
Assumption –

No character will occur consecutively more than 9 times.

C Programming interview preparation videos visit-    • C Programming tutorials (Placement Pr...  

Java Basics - Lecture 1 -    • JAVA Basics | Lecture 1 | Part - 1 | ...  
OOP concepts video Lecture 2 (Part-2) visit -    • OOP Concepts | JAVA Basics | Part-2 |...  
Hope you will enjoy it......Please like, comment, and subscribe to our channel.



You can Find Us at:
Instagram:  / instructorspoint  

#cprograms
#Java
#interviewprepration
#ishankesarwani
#instructorspoint

Комментарии

Информация по комментариям в разработке