Hackerrank Problem-solving certification(Basic).

Photo by Ilya Pavlov on Unsplash

Hackerrank Problem-solving certification(Basic).

ยท

1 min read

Just gave the test and it was pretty easy, there were two coding questions and a total of 90 minutes.

Both the questions were centric around the string, the first question was to find the substring in a string that has a max number of vowels I used the sliding window technique to crack this.

The second question was easier than the first, it asked to return the vector string including yes or no, corresponding to a vector string with usernames, if the usernames can be changed to a lower order alphabetically then the corresponding answer was yes, and no for vice versa, used the sort function of algorithm library to check if it was possible to get a lower string.

ย