• + 0 comments

    I solved the problem this way as well - it seems more intuitive. If the problem stated that we couldn't use other functions, things would be different.