Alternating characters hackerrank solution

Опубликовано: 10 Август 2020
на канале: Kuldip Ghotane
1,267
17

In this video I have discussed alternating character in the string manipulation in the hackerrank interview preparation kit series.

Here in order to make string with alternate characters we need to delete the repeating characters. We can simply find out repeating characters using for loop and that will be the ans to the problem

If you are someone who is trying to solve all the problems from hackerrank interview preparation kit playlist and getting stuck anywhere or looking for optimized solution do check my playlist
   • Hackerrank Interview Preparation Kit  

0:00 Start
1:17 Explanation
5:04 Writing code