Comment on Curious C++ Lambda Examples: Recursion, constexpr, Containers C++23 includedparentComments−nextaccountic4yI actually +1 on linked lists since it's very cache unfriendly and is actually very niche, but recursion is very solid, specially if your language has tail call elimination−zelphirkalt4yIt does depend though, on how the linked list is implemented. If it is backed by an array for example ...
Comments
I actually +1 on linked lists since it's very cache unfriendly and is actually very niche, but recursion is very solid, specially if your language has tail call elimination
It does depend though, on how the linked list is implemented. If it is backed by an array for example ...