Note 1: ETH::A&D
Note Type: Horvath Cloze
GUID:
M,?u9cw(S%
Before
Front
Back
After
Front
Back
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | {{c1:: \(\sum_{i = 1}^{n} i\log(i)\)}} \(\leq\) {{c2::\(O(n \log(n))\) (O-notation)}} | {{c1:: \(\sum_{i = 1}^{n} i\log(i)\)}} \(\leq\) {{c2::\(O(n \log(n))\):: (O-notation)}} |
Note 2: ETH::A&D
Note Type: Horvath Cloze
GUID:
M11/nZaHIu
Before
Front
| search | insert | delete | |
| unsorted Array | \(O(n)\) | \(O(1)\) | \(O(n)\) |
| sorted Array | \(O(\log n)\) | \(O(n)\) | \(O(n)\) |
| DLL | \(O(n)\) (no bin. search possible) | \(O(1)\) | \(O(n)\) |
Back
| search | insert | delete | |
| unsorted Array | \(O(n)\) | \(O(1)\) | \(O(n)\) |
| sorted Array | \(O(\log n)\) | \(O(n)\) | \(O(n)\) |
| DLL | \(O(n)\) (no bin. search possible) | \(O(1)\) | \(O(n)\) |
After
Front
| search | insert | delete | |
| unsorted Array | \(O(n)\) | \(O(1)\) | \(O(n)\) |
| sorted Array | \(O(\log n)\) | \(O(n)\) | \(O(n)\) |
| DLL | \(O(n)\) (no bin. search possible) | \(O(1)\) | \(O(n)\) |
Back
| search | insert | delete | |
| unsorted Array | \(O(n)\) | \(O(1)\) | \(O(n)\) |
| sorted Array | \(O(\log n)\) | \(O(n)\) | \(O(n)\) |
| DLL | \(O(n)\) (no bin. search possible) | \(O(1)\) | \(O(n)\) |
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | <b></b><b></b><b></b><b></b><table> <tbody><tr> <td></td> <td><b>search</b></td> <td><b>insert</b></td> <td><b>delete</b></td> </tr> <tr> <td>unsorted Array</td> <td>{{c1::\(O(n)\)}}</td> <td>{{c2::\(O(1)\)}}</td> <td>{{c3::\(O(n)\)}}</td> </tr> <tr> <td>sorted Array</td> <td>{{c4::\(O(\log n)\)}}</td> <td>{{c5::\(O(n)\)}}</td> <td>{{c6::\(O(n)\)}}</td> </tr> <tr> <td>DLL</td> <td>{{c7::\(O(n)\) (no bin. search possible)}}</td> <td>{{c8::\(O(1)\)}}</td> <td>{{c9::\(O(n)\)}}</td> </tr> </tbody></table> | <b></b><b></b><b></b><b></b> ADT-Dictionary: <table> <tbody><tr> <td></td> <td><b>search</b></td> <td><b>insert</b></td> <td><b>delete</b></td> </tr> <tr> <td>unsorted Array</td> <td>{{c1::\(O(n)\)}}</td> <td>{{c2::\(O(1)\)}}</td> <td>{{c3::\(O(n)\)}}</td> </tr> <tr> <td>sorted Array</td> <td>{{c4::\(O(\log n)\)}}</td> <td>{{c5::\(O(n)\)}}</td> <td>{{c6::\(O(n)\)}}</td> </tr> <tr> <td>DLL</td> <td>{{c7::\(O(n)\) (no bin. search possible)}}</td> <td>{{c8::\(O(1)\)}}</td> <td>{{c9::\(O(n)\)}}</td> </tr> </tbody></table> |
Note 3: ETH::A&D
Note Type: Horvath Cloze
GUID:
Pf|C9|^n[w
Before
Front
- Insert is \(\Theta(1)\) as we know the memory address of the final element in the list and just have to set the null pointer to the new keys address. Without this pointer it's \(\Theta(l)\).
- Get is \(\Theta(i)\) very slow as we need to traverse the entire list up to i
- insertAfter is \(O(1)\) if we get the memory address of the element to insert after.
- delete is:
SLL: {{c4::\(\Theta(l)\) as we need to find the previous element and change it's pointer}.}
DLL: \(O(1)\) we know the address of the previous element and then just edit it's pointer.
Back
- Insert is \(\Theta(1)\) as we know the memory address of the final element in the list and just have to set the null pointer to the new keys address. Without this pointer it's \(\Theta(l)\).
- Get is \(\Theta(i)\) very slow as we need to traverse the entire list up to i
- insertAfter is \(O(1)\) if we get the memory address of the element to insert after.
- delete is:
SLL: {{c4::\(\Theta(l)\) as we need to find the previous element and change it's pointer}.}
DLL: \(O(1)\) we know the address of the previous element and then just edit it's pointer.
After
Front
- Insert is \(\Theta(1)\) as we know the memory address of the final element in the list and just have to set the null pointer to the new keys address. Without this pointer it's \(\Theta(l)\).
- Get is \(\Theta(i)\) very slow as we need to traverse the entire list up to i
- insertAfter is \(O(1)\) if we get the memory address of the element to insert after.
- delete is:
SLL: \(\Theta(l)\) as we need to find the previous element and change it's pointer.
DLL: \(O(1)\) we know the address of the previous element and then just edit it's pointer.
Back
- Insert is \(\Theta(1)\) as we know the memory address of the final element in the list and just have to set the null pointer to the new keys address. Without this pointer it's \(\Theta(l)\).
- Get is \(\Theta(i)\) very slow as we need to traverse the entire list up to i
- insertAfter is \(O(1)\) if we get the memory address of the element to insert after.
- delete is:
SLL: \(\Theta(l)\) as we need to find the previous element and change it's pointer.
DLL: \(O(1)\) we know the address of the previous element and then just edit it's pointer.
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | In a <b>singly</b> and <b>doubly linked list</b>, the operation:<br><ul><li><b>Insert</b> is {{c1::\(\Theta(1)\) as we know the memory address of the final element in the list and just have to set the null pointer to the new keys address. Without this pointer it's \(\Theta(l)\). }}<br></li><li><b>Get</b> is {{c2::\(\Theta(i)\) very slow as we need to traverse the entire list up to <b>i</b>}}<br></li><li><b>insertAfter</b> is {{c3:: \(O(1)\) if we get the memory address of the element to insert after.}}<br></li><li><b>delete</b> is:<br> SLL: {{c4::\(\Theta(l)\) as we need to find the previous element and change it's pointer |
In a <b>singly</b> and <b>doubly linked list</b>, the operation:<br><ul><li><b>Insert</b> is {{c1::\(\Theta(1)\) as we know the memory address of the final element in the list and just have to set the null pointer to the new keys address. Without this pointer it's \(\Theta(l)\). }}<br></li><li><b>Get</b> is {{c2::\(\Theta(i)\) very slow as we need to traverse the entire list up to <b>i</b>}}<br></li><li><b>insertAfter</b> is {{c3:: \(O(1)\) if we get the memory address of the element to insert after.}}<br></li><li><b>delete</b> is:<br> SLL: {{c4::\(\Theta(l)\) as we need to find the previous element and change it's pointer.}}<br> DLL: {{c5:: \(O(1)\) we know the address of the previous element and then just edit it's pointer.}}</li></ul> |
Note 4: ETH::A&D
Note Type: Horvath Cloze
GUID:
nK{)v6I%zc
Before
Front
- push: \(\Theta(1)\)
- pop: \(\Theta(1)\) as this removes the first element. This means we just copy the pointer next from the first element to be the first pointer of the list.
Back
- push: \(\Theta(1)\)
- pop: \(\Theta(1)\) as this removes the first element. This means we just copy the pointer next from the first element to be the first pointer of the list.
After
Front
- push: \(\Theta(1)\)
- pop: \(\Theta(1)\) as this removes the first element. This means we just copy the pointer next from the first element to be the first pointer of the list.
Back
- push: \(\Theta(1)\)
- pop: \(\Theta(1)\) as this removes the first element. This means we just copy the pointer next from the first element to be the first pointer of the list.
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | The ADT <b>stack</b> can be efficiently implemented using a {{c1:: |
The ADT <b>stack</b> can be efficiently implemented using a {{c1::<b>singly linked list</b>}}:<br><ul><li><b>push</b>: {{c2:: \(\Theta(1)\)}}<br></li><li><b>pop</b>: {{c3:: \(\Theta(1)\) as this removes the first element. This means we just copy the pointer next from the first element to be the first pointer of the list.}}<br></li></ul> |
Note 5: ETH::DiskMat
Note Type: Horvath Cloze
GUID:
C18gm]huq&
Before
Front
In a Group:
{{c1:: \(\widehat{a * b}\) }} = {{c2:: \(\widehat{b} * \widehat{a}\)}} This is a property from a Lemma.
Back
In a Group:
{{c1:: \(\widehat{a * b}\) }} = {{c2:: \(\widehat{b} * \widehat{a}\)}} This is a property from a Lemma.
After
Front
{{c1:: \(\widehat{a * b}\) }} = {{c2:: \(\widehat{b} * \widehat{a}\)}}
Back
{{c1:: \(\widehat{a * b}\) }} = {{c2:: \(\widehat{b} * \widehat{a}\)}}
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | In a Group: <br><br>{{c1:: \(\widehat{a * b}\) }} = {{c2:: \(\widehat{b} * \widehat{a}\)}} |
Note 6: ETH::DiskMat
Note Type: Horvath Cloze
GUID:
GE_=q.pKz`
Before
Front
Group axiom G1 states that the operation \(*\) is associative: \(a * (b * c) = (a * b) * c\) for all \(a, b, c\) in \(G\).
Back
Group axiom G1 states that the operation \(*\) is associative: \(a * (b * c) = (a * b) * c\) for all \(a, b, c\) in \(G\).
After
Front
Group axiom G1 states that the operation \(*\) is associative: .
Back
Group axiom G1 states that the operation \(*\) is associative: .
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | <p>Group axiom <strong>G1</strong> states that the operation \(*\) is {{c1::associative |
<p>Group axiom <strong>G1</strong> states that the operation \(*\) is {{c1::associative: {{c2::\(a * (b * c) = (a * b) * c\)}} for all \(a, b, c\) in \(G\)}}.</p> |
Note 7: ETH::DiskMat
Note Type: Horvath Cloze
GUID:
l];xKGd{%I
Before
Front
Back
After
Front
Back
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | A function \( f: A \rightarrow B\) is {{c1::surjective (or onto)}} if {{c2::\( \forall b \ \exists a \ , b = f(a)\), i.e. every value is taken}} | A function \( f: A \rightarrow B\) is {{c1::surjective (or onto)}} if {{c2::\( \forall b \ \exists a \ , b = f(a)\), i.e. every value is taken}}. |
Note 8: ETH::DiskMat
Note Type: Horvath Cloze
GUID:
xH`d$W-97_
Before
Front
In a Group:
\(\widehat{(\widehat{a})} =\) \(a\) (inverse of inverse is the original element). This is a property from Lemma 5.3.
Back
In a Group:
\(\widehat{(\widehat{a})} =\) \(a\) (inverse of inverse is the original element). This is a property from Lemma 5.3.
After
Front
\(\widehat{(\widehat{a})} =\) \(a\)
Back
\(\widehat{(\widehat{a})} =\) \(a\)
This is a property from Lemma 5.3.
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | In a group: <br><br>\(\widehat{(\widehat{a})} =\){{c1:: \(a\) }} | |
| Extra | Inverse of inverse is the original element.<br><br>This is a property from Lemma 5.3. |
Note 9: ETH::DiskMat
Note Type: Horvath Cloze
GUID:
yAP=DE#~t<
Previous
Note did not exist
New Note
Front
- Closure
- Associativity
- Identity
- Inverse
- Commutative
Back
- Closure
- Associativity
- Identity
- Inverse
- Commutative
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | An <b>abelian group</b> has the following properties:<br><ol><li>{{c1::Closure}}</li><li>{{c2::Associativity}}</li><li>{{c3::Identity}}</li><li>{{c4::Inverse}}</li><li>{{c5::Commutative}}</li></ol> |
Note 10: ETH::LinAlg
Note Type: Horvath Cloze
GUID:
Dd-0>Kd049
Before
Front
Back
After
Front
Back
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | The columns of \(A\) are independent if and only if {{c1::\(x = 0\) is the only vector for which \(Ax = 0\) |
The columns of \(A\) are independent if and only if {{c1::\(x = 0\) is the only vector for which \(Ax = 0\)::(Linear combination view)}}. |
Note 11: ETH::LinAlg
Note Type: Horvath Cloze
GUID:
col^b$YzMt
Before
Front
Back
After
Front
Back
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | \(v^\top v = \){{c1:: \(||v||^2\) |
\(v^\top v = \){{c1:: \(||v||^2\)::(in terms of norm)}} |
Note 12: ETH::LinAlg
Note Type: Horvath Cloze
GUID:
gU%jisb2z3
Before
Front
- \(v \cdot w = w \cdot v\) (symmetry / commutatitivity
- \((\lambda v) \cdot w = \lambda (v \cdot w)\) (scalars move freely)
- \(u \cdot (v + w) = u \cdot v + u \cdot w\) and \((u + v) \cdot w = u\cdot w + v \cdot w\) (distributivity)
- \(v \cdot v \geq 0\) with equality if and only if \(v = 0\) (positive definiteness
Back
- \(v \cdot w = w \cdot v\) (symmetry / commutatitivity
- \((\lambda v) \cdot w = \lambda (v \cdot w)\) (scalars move freely)
- \(u \cdot (v + w) = u \cdot v + u \cdot w\) and \((u + v) \cdot w = u\cdot w + v \cdot w\) (distributivity)
- \(v \cdot v \geq 0\) with equality if and only if \(v = 0\) (positive definiteness
After
Front
Let \(u, v, w \in \mathbb{R}^m\) be vectors and \(\lambda \in \mathbb{R}\) a scalar:
- \(v \cdot w = w \cdot v\) (symmetry / commutativity)
- \((\lambda v) \cdot w = \lambda (v \cdot w)\) (scalars move freely)
- \(u \cdot (v + w) = u \cdot v + u \cdot w\) and \((u + v) \cdot w = u\cdot w + v \cdot w\) (distributivity)
- \(v \cdot v \geq 0\) with equality if and only if \(v = 0\) (positive definedness)
Back
Let \(u, v, w \in \mathbb{R}^m\) be vectors and \(\lambda \in \mathbb{R}\) a scalar:
- \(v \cdot w = w \cdot v\) (symmetry / commutativity)
- \((\lambda v) \cdot w = \lambda (v \cdot w)\) (scalars move freely)
- \(u \cdot (v + w) = u \cdot v + u \cdot w\) and \((u + v) \cdot w = u\cdot w + v \cdot w\) (distributivity)
- \(v \cdot v \geq 0\) with equality if and only if \(v = 0\) (positive definedness)
Field-by-field Comparison
| Field | Before | After |
|---|---|---|
| Text | Scalar product properties |
Scalar product properties<br><br>Let \(u, v, w \in \mathbb{R}^m\) be vectors and \(\lambda \in \mathbb{R}\) a scalar:<br><ol><li>{{c1::\(v \cdot w = w \cdot v\) (symmetry / commutativity)}}</li><li>{{c2:: \((\lambda v) \cdot w = \lambda (v \cdot w)\) (scalars move freely)}}</li><li>{{c3:: \(u \cdot (v + w) = u \cdot v + u \cdot w\) and \((u + v) \cdot w = u\cdot w + v \cdot w\) (distributivity)}}</li><li>{{c4:: \(v \cdot v \geq 0\) with equality if and only if \(v = 0\) (positive definedness)}}</li></ol> |