2
submitted 1 month ago* (last edited 1 month ago) by blueberry@feddit.org to c/ai_detox@feddit.org

Problem 1

(*) Find the last element of a list. Solutions

(Note that the Lisp transcription of this problem is incorrect.)

Example in Haskell:

myLast [1,2,3,4]

4

myLast ['x','y','z']

'z'

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 28 Jun 2025
2 points (100.0% liked)

AI Detox

58 readers
2 users here now

Verifiable tasks, exercises and puzzles. Non-passively consumable pieces of knowledge. Creativity-games and analogue physical tasks. Summed up: everything that gives your brain something to do without AI.

founded 1 month ago
MODERATORS