You might also be able to find a solution fromAI solution orcommunity posts

BFE.dev solution for TypeScript puzzle
21. implement LastItem<T>

No solution yet, but you can request it.
We are adding solutions based on the requests.