Designly·FollowApr 6, 2024--ListenShareThanks for this. I actually learned something that I plan to use. I think you might have a type error in example 5. You assign null to next when next can be either undefined or the LinkedList type.