Compare commits
6 Commits
9e152bc038
...
a9dc077e73
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9dc077e73 | ||
|
|
35d545c527 | ||
|
|
4bee68e6c4 | ||
|
|
02fb38fdda | ||
|
|
88a52d6bfc | ||
|
|
0e99eb925b |
18
00 Inbox/29622985 - 2026-04-28.md
Normal file
18
00 Inbox/29622985 - 2026-04-28.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
created: 2026-04-28 14:25
|
||||||
|
course:
|
||||||
|
topic:
|
||||||
|
related:
|
||||||
|
type: lecture
|
||||||
|
status: 🔴
|
||||||
|
tags:
|
||||||
|
- university
|
||||||
|
---
|
||||||
|
## 📌 Summary
|
||||||
|
|
||||||
|
> [!abstract]
|
||||||
|
>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📝 Content
|
||||||
18
10 Courses/01 - WiSe 2025_26/DAS/29622722 - DAS.md
Normal file
18
10 Courses/01 - WiSe 2025_26/DAS/29622722 - DAS.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
created: 2026-04-28 10:02
|
||||||
|
course:
|
||||||
|
topic:
|
||||||
|
related:
|
||||||
|
type: lecture
|
||||||
|
status: 🔴
|
||||||
|
tags:
|
||||||
|
- university
|
||||||
|
---
|
||||||
|
## 📌 Summary
|
||||||
|
|
||||||
|
> [!abstract]
|
||||||
|
>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📝 Content
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
created: 2026-04-28 10:02
|
||||||
|
course:
|
||||||
|
topic:
|
||||||
|
related:
|
||||||
|
type: lecture
|
||||||
|
status: 🔴
|
||||||
|
tags:
|
||||||
|
- university
|
||||||
|
---
|
||||||
|
## 📌 Summary
|
||||||
|
|
||||||
|
> [!abstract]
|
||||||
|
>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📝 Content
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
## Asymptotic Equivalence Classes (Big-O)
|
## Asymptotic Equivalence Classes (Big-O)
|
||||||
|
|
||||||
The equivalence relation definition given in the task is asking you to find functions that grow at the exact same rate (also known as Big-Theta $\Theta$):
|
The equivalence relation definition given in the task is asking you to find functions that grow at the exact same rate (also known as Big-Theta $Theta$):
|
||||||
|
|
||||||
$f asymp g <==> f in O(g) and g in O(f)$
|
$f asymp g <==> f in O(g) and g in O(f)$
|
||||||
|
|
||||||
@@ -29,8 +29,7 @@ Result is the last $"Remainder"$ that is not $0$.
|
|||||||
**Goal:** find a $x$ and $y$ so that $"Divident" * x + "Divisor" * y = gcd("Dividend", "Divisor")$
|
**Goal:** find a $x$ and $y$ so that $"Divident" * x + "Divisor" * y = gcd("Dividend", "Divisor")$
|
||||||
|
|
||||||
1. **Rewrite Euclid (above) equations** to solve for remainder ($"Remainder" = "Old Remainder" - "Dividend" * "Divisor"$)
|
1. **Rewrite Euclid (above) equations** to solve for remainder ($"Remainder" = "Old Remainder" - "Dividend" * "Divisor"$)
|
||||||
2. **Substitute remainders** -> $$
|
2. **Substitute remainders** ->
|
||||||
|
|
||||||
## Inclusion-Exclusion Principle
|
## Inclusion-Exclusion Principle
|
||||||
Principle that dictates that when combining / overlapping sets, you have to make sure to not include elements that occur in multiple sets multiple times.
|
Principle that dictates that when combining / overlapping sets, you have to make sure to not include elements that occur in multiple sets multiple times.
|
||||||
|
|
||||||
@@ -54,6 +53,7 @@ $$
|
|||||||
& 4^10 = 1,048,576 \
|
& 4^10 = 1,048,576 \
|
||||||
& => 3 "numbers that are both" x^2 "and" x^5 "exist"
|
& => 3 "numbers that are both" x^2 "and" x^5 "exist"
|
||||||
$$
|
$$
|
||||||
|
|
||||||
#### Final calculation:
|
#### Final calculation:
|
||||||
Formula: $"Elements that are" x^2 + "Elements that are" x^5 - "Elements that are both"$
|
Formula: $"Elements that are" x^2 + "Elements that are" x^5 - "Elements that are both"$
|
||||||
$==> 1,000 + 15 - 3 = 1,012$
|
$==> 1,000 + 15 - 3 = 1,012$
|
||||||
|
|||||||
BIN
30 Library/29622724 - Lecture_10_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_10_-_compact.pdf
Normal file
Binary file not shown.
BIN
30 Library/29622724 - Lecture_11_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_11_-_compact.pdf
Normal file
Binary file not shown.
BIN
30 Library/29622724 - Lecture_1_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_1_-_compact.pdf
Normal file
Binary file not shown.
BIN
30 Library/29622724 - Lecture_2_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_2_-_compact.pdf
Normal file
Binary file not shown.
BIN
30 Library/29622724 - Lecture_3_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_3_-_compact.pdf
Normal file
Binary file not shown.
BIN
30 Library/29622724 - Lecture_4_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_4_-_compact.pdf
Normal file
Binary file not shown.
BIN
30 Library/29622724 - Lecture_5_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_5_-_compact.pdf
Normal file
Binary file not shown.
BIN
30 Library/29622724 - Lecture_6_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_6_-_compact.pdf
Normal file
Binary file not shown.
BIN
30 Library/29622724 - Lecture_7_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_7_-_compact.pdf
Normal file
Binary file not shown.
BIN
30 Library/29622724 - Lecture_8_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_8_-_compact.pdf
Normal file
Binary file not shown.
BIN
30 Library/29622724 - Lecture_9_-_compact.pdf
Normal file
BIN
30 Library/29622724 - Lecture_9_-_compact.pdf
Normal file
Binary file not shown.
@@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Check if a filename was provided
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "Usage: $0 <filename>"
|
echo "Usage: $0 <filename>"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -8,29 +7,28 @@ fi
|
|||||||
|
|
||||||
TARGET="$1"
|
TARGET="$1"
|
||||||
|
|
||||||
# Check if the file actually exists
|
|
||||||
if [ ! -f "$TARGET" ]; then
|
if [ ! -f "$TARGET" ]; then
|
||||||
echo "Error: File '$TARGET' not found."
|
echo "Error: File '$TARGET' not found."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get creation time (%W).
|
# Extract just the filename (e.g., "Lecture_1.pdf")
|
||||||
# Note: Returns 0 or '-' if the filesystem doesn't support birth time.
|
# and the directory path (e.g., ".")
|
||||||
|
FILENAME=$(basename "$TARGET")
|
||||||
|
DIRNAME=$(dirname "$TARGET")
|
||||||
|
|
||||||
BTIME=$(stat -c %W "$TARGET")
|
BTIME=$(stat -c %W "$TARGET")
|
||||||
|
|
||||||
# Fallback to last modification time (%Y) if birth time is unavailable
|
|
||||||
if [ "$BTIME" -eq 0 ] || [ "$BTIME" == "-" ]; then
|
if [ "$BTIME" -eq 0 ] || [ "$BTIME" == "-" ]; then
|
||||||
BTIME=$(stat -c %Y "$TARGET")
|
BTIME=$(stat -c %Y "$TARGET")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Calculate the minute-based timestamp (equivalent to Math.floor(ms / 60000))
|
|
||||||
# Since stat returns seconds, we divide by 60.
|
|
||||||
FORMATTED_DATE=$(( BTIME / 60 ))
|
FORMATTED_DATE=$(( BTIME / 60 ))
|
||||||
|
|
||||||
# Define the new name
|
# Construct the new name using ONLY the filename,
|
||||||
NEW_NAME="${FORMATTED_DATE} - ${TARGET}"
|
# then prepend the original directory path
|
||||||
|
NEW_NAME="${DIRNAME}/${FORMATTED_DATE} - ${FILENAME}"
|
||||||
|
|
||||||
# Perform the rename
|
|
||||||
mv "$TARGET" "$NEW_NAME"
|
mv "$TARGET" "$NEW_NAME"
|
||||||
|
|
||||||
echo "Renamed: '$TARGET' -> '$NEW_NAME'"
|
echo "Renamed: '$TARGET' -> '$NEW_NAME'"
|
||||||
|
|||||||
Submodule 40 Extras/OOP/die_einen_da updated: 04d6760ab7...d7b00e7700
3
Untitled 1.base
Normal file
3
Untitled 1.base
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
views:
|
||||||
|
- type: table
|
||||||
|
name: Table
|
||||||
Reference in New Issue
Block a user