Skip to content

Commit

Permalink
lect 9
Browse files Browse the repository at this point in the history
  • Loading branch information
dibamirza committed Oct 30, 2023
1 parent 83046ee commit 6af45fe
Show file tree
Hide file tree
Showing 102 changed files with 345 additions and 17 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added _lectures/CS24_Lecture8_ann.pdf
Binary file not shown.
Binary file added _lectures/CS24_Lecture9.pdf
Binary file not shown.
9 changes: 3 additions & 6 deletions _lectures/lect08.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ desc: "Big-O running time analysis"
ready: true
pdfurl: /lectures/CS24_Lecture8.pdf
annotatedpdfurl: /lectures/CS24_Lecture8_ann.pdf
annotatedready: false
annotatedready: true
---
# Code from lecture
[{{site.lect_repo}}/tree/main/{{page.num}}]({{site.lect_repo}}/tree/main/{{page.num}})

# Topics
* We'll wrap up our discussion of BSTs
- Remaining BST operations (predecessor, successor, delete)
* Discuss and motivate runtime analysis
* Big-O formal definition and examples
* Analysis of recursive fibonacci algorithm (two different ways)
16 changes: 16 additions & 0 deletions _lectures/lect09.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
lecture_date: 2023-10-30
num: "lect09"
desc: "running time analysis – best/worst case and BST operations"
ready: true
pdfurl: /lectures/CS24_Lecture9.pdf
annotatedpdfurl: /lectures/CS24_Lecture9_ann.pdf
annotatedready: false
---
# Code from lecture
[{{site.lect_repo}}/tree/main/{{page.num}}]({{site.lect_repo}}/tree/main/{{page.num}})

# Topics
* Big Omega and big theta
* Best case and worst case analysis of binary search
* Best case and worst case analysis of BST operations
12 changes: 12 additions & 0 deletions _site/assets/js/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,18 @@ var dates = [{

"date" : "2023-10-25",

}
,{
"type" : "lectures",
"url" : "/f23/lectures/lect09/",
"num" : "lect09",


"ready" : "true",
"desc" : "running time analysis – best/worst case and BST operations",

"date" : "2023-10-30",

}
,];

Expand Down
6 changes: 6 additions & 0 deletions _site/assets/js/scrape.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ var DEBUGGING_ONLY = {
"num" : "lect08",
},

{
"collection" : "lectures",
"url" : "/lectures/lect09/",
"num" : "lect09",
},

]
},

Expand Down
15 changes: 14 additions & 1 deletion _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,20 @@ <h1 id="cs-24-f23-problem-solving-with-computers-ii">CS 24 F23: Problem Solving
<td class="lect_num">2023-10-25</td>
<td class="lect_num"><a href="/f23/lectures/lect08/" data-ajax="false">lect08</a></td>
<td class="lect_ready">true</td>
<td class="lect_desc">Big-O running time analysis&nbsp;(<a href="/f23/lectures/CS24_Lecture8.pdf">slides</a>)</td>
<td class="lect_desc">Big-O running time analysis&nbsp;(<a href="/f23/lectures/CS24_Lecture8.pdf">slides</a>)&nbsp;(<a href="/f23/lectures/CS24_Lecture8_ann.pdf">annotated slides</a>)</td>


</tr>





<tr class="ready">
<td class="lect_num">2023-10-30</td>
<td class="lect_num"><a href="/f23/lectures/lect09/" data-ajax="false">lect09</a></td>
<td class="lect_ready">true</td>
<td class="lect_desc">running time analysis – best/worst case and BST operations&nbsp;(<a href="/f23/lectures/CS24_Lecture9.pdf">slides</a>)</td>


</tr>
Expand Down
Binary file added _site/lectures/CS24_Lecture8_ann.pdf
Binary file not shown.
Binary file added _site/lectures/CS24_Lecture9.pdf
Binary file not shown.
15 changes: 5 additions & 10 deletions _site/lectures/lect08/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,21 +251,16 @@

<td>lect08</td>

<td><a href="/f23/lectures/lect09/">Next Lecture</a></td>

</tr>
</table>


<h1 id="code-from-lecture">Code from lecture</h1>
<p><a href="https://github.com/ucsb-cs24-f23/cs24-f23-lectures/tree/main/lect08">https://github.com/ucsb-cs24-f23/cs24-f23-lectures/tree/main/lect08</a></p>

<h1 id="topics">Topics</h1>
<h1 id="topics">Topics</h1>
<ul>
<li>We’ll wrap up our discussion of BSTs
<ul>
<li>Remaining BST operations (predecessor, successor, delete)</li>
</ul>
</li>
<li>Discuss and motivate runtime analysis</li>
<li>Big-O formal definition and examples</li>
<li>Analysis of recursive fibonacci algorithm (two different ways)</li>
</ul>

</div><!-- content -->
Expand Down
Loading

0 comments on commit 6af45fe

Please sign in to comment.