file cabinet
Photo by Maksym Kaharlytskyi on Unsplash

Many programming interview questions have something to do with working with indexes. You may also be dealing with tasks at work that can have something to do with indexes.

One such task can be doing different splits and formattings of text files based on an index of a specific character.

Let us assume that you are asked to remove part of a string based on a certain index in a string.

Continue reading