Commit Graph

13 Commits

Author SHA1 Message Date
9b6528d800 uebung_03: implement Task 3 (BST) and Task 4 (IntHashSet)
Task 3 adds IntBinarySearchTree with iterative add/contains and a
test class covering empty trees, duplicates, and degenerate ascending
and descending insertion orders.

Task 4 adds IntHashSet backed by an IntLinkedList bucket array with
a 0.7 load factor, Math.floorMod-based hashing for negative-int
safety, doubling resize that rehashes via a private
addWithoutResize helper, and a test class covering negatives,
Integer.MIN_VALUE, forced collisions on bucket 0, and 100-element
inserts spanning three resizes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 23:19:48 +02:00
964e6a0afb uebung_02: complete IntArrayList with get, size, sort, remove and finish add
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 22:08:01 +02:00
69b1531a53 chore: ignore compiled .class files
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 22:07:54 +02:00
e5fab1bec5 uebung_03: implement Task 1 (IntLinkedList) and Task 2 (generic LinkedList)
Doubly linked list with head/tail references for int values (Task 1)
and a generic LinkedList<T>/ListNode<T> version (Task 2). Both
implement add, get, remove, getSize with O(n/2) walks via the
closer-end heuristic. Includes IntLinkedListTest covering empty,
single-element, head/tail/middle removal, and out-of-bounds cases.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 22:06:24 +02:00
879d6a8721 Remove all solution markdown, task images, solution PDFs, and add renamed folder structure as part of THB-wide reorganization. 2026-05-11 18:58:40 +02:00
7624547d66 WIP: snapshot before THB-wide structural reorganization
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-04 22:19:03 +02:00
3f85063348 Update docs link to new path 2026-04-08 20:40:58 +02:00
b226dfced3 Link to THB-Docs for Git setup guide 2026-04-08 20:38:39 +02:00
4324c01110 Update README and remote for general semester repo 2026-04-08 20:32:59 +02:00
3499133298 Add README 2026-04-08 20:29:58 +02:00
a958ba600f Add Task 6 sorter, fix method signatures, generate solution PDF 2026-04-08 20:27:43 +02:00
cd51025dc4 Add Task 5 prime number generator, AI comparison, and .gitignore 2026-04-08 19:46:21 +02:00
c6fca7b541 Add initial implementation including utility classes, core modules, and project configuration files 2026-03-30 20:45:04 +02:00