If available, you almost always want to use the version from your library. The chances that your implementation will be better or more thoroughly tested are slim. It is still worth implementing these algorithms as an exercise. It will take your understanding to the next level.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If available, you almost always want to use the version from your library. The chances that your implementation will be better or more thoroughly tested are slim. It is still worth implementing these algorithms as an exercise. It will take your understanding to the next level.