In our previous article we learnt how to reverse linked list. In this article, we will learn program to reverse singly linked list in group of k elements. This is one of the most important interview question.
In this article, we will understand how to write a program to find the first non-repeated (unique) character in a given string. This is one of the most repeated amazon interview question. Let us understand the approach to solve the problem in detail.
In this article, we will understand how to write a function that returns the Run Length Encoded string for the input string. This is very common interview question asked in various interviews. Let us understand the logic and implementation of above problem statement