Problem: Homework (https://open.kattis.com/problems/heimavinna)
No, not a homework for you. The problem is actually called Homework!
In this video, I'm going through the String .split() method which splits a String based on a particular character/string, which I think makes the code much simpler to write. You can also use regular expression in .split(), but I won't be covering that here.
0:00 - Problem description
2:55 - Solution using .split()
Please note that all views and opinions expressed in this video are my own and does not reflect that of Kattis or any other person/organisation mentioned in the video.