in general it's always worth to understand what's happening and without reading or solving the same problem you never know why decisions are made ...
which is called blackboxing ... and as a rule of thumb -> we don't wanna blackbox because it means to assume and in the end we want to assert ... because otherwise we're just guessing and not knowing.
On the other hand if you ask me, if you should use your self-coded lib afterwards .... I actually would not :) unless you want to maintain it yourself :).