codementor on Nostr: Question: Reverse a linked list with recursion instead of a loop. What is the extra ...
Question: Reverse a linked list with recursion instead of a loop. What is the extra memory now?
Try to answer before you open the reply.
#ll004 · LL-004-Q2
Published at
2026-10-08 16:07:30 UTCEvent JSON
{
"id": "eb704dc4125868989b3ecb0e46bf98fcf815ee163630eddc6bd52b42d26f0f5d",
"pubkey": "e68a0856e90d9997b1f721e905249896412dd570399a987b2e8fd5e7fcfe2279",
"created_at": 1791475650,
"kind": 1,
"tags": [
[
"t",
"ll004"
]
],
"content": "Question: Reverse a linked list with recursion instead of a loop. What is the extra memory now?\n\nTry to answer before you open the reply.\n\n#ll004 · LL-004-Q2",
"sig": "25928e86854a8e261aca6f81a67b939d80f248f3ba8ec11e7802f6215bfa97d5ca900af9aaf7874a95f14660e2a80a55a726bcc4faf64d0354d92910c478ee43"
}