| Main, Syllabus, Office hours | Schedule | Slides | Daily | Homework | Code | Exams |

Go to page bottom

Reviews and other resources

Date Topics, Comments
Git and GitHub by Aryan
Fri, 8/22 Software and C review session by Aryan and Jack.
In person in room ERB 228 and online in Teams, 11am-1pm. It will be recorded.
These are the slides he used.
C Review 2 - Guided Coding Session by Aryan (90 min, develop a program for Conway's Game of Life )
code: gameOfLife.c
This example is very useful. This is how we work with 2D arrays in this class. It helps to understand them well!
Fri, 08/29 Aryan's Math review
Fri, 09/12 TC review : video and notes
The 4 problems in the document I edited in Word were prepared by Aryan.
Fri, 09/19 Exam 1 Review - by Jack

Daily Lectures

Lecture Section
001
Section
002
Topics, Comments
1 Tu 08/18 notes,
video
notes,
video
  • Introductions
  • TAs
  • Syllabus
  • Coding platforms: Unix system, Valgrind, file transfer, debugger.
  • C review, coding resources see Code page under "Coding resources".
  • Course navigation: OneNote (student section, student view in Teams), Daily page (videos, notes), Code
  • Slides: Course overview
  • leetcode some fun problems (just presented, not solved)
  • Selected coding resources (from the Code page)
    • good for beginners:
      • 10 hours C course by Caleb Curry - recommended for students that did not study C, or who need a comprehensive review. It is long, but it is worth it as it covers specific aspects of C that can result in hard to find bugs.
      • HackerRank - to practice C
      • also in leetcode select problems that are easy and on a topic (e.g. arrays and easy)
    • C review by Aryan(including pointer, 1D and 2D dynamic array allocation, recursion), Unix (commands, file redirection, diff), common errors, gdb, reverse debugging - I will not go through this in class, students should review outside of class.
    • COMMON ERRORS IN C - WATCH THIS VIDEO (30 minutes). It shows and explains common and tricky C errors related to pointers, arrays, and strings (starting from error number 7 or so). Use double speed, if you prefer, but DO watch it!
2 Th 08/20 notes,
video1
video2,
notes,
video
  • TAs - use @mavs.uta.edu email address
  • FileZilla issue
  • *** ways to run cone for our class. Possibly install Ivanti VPN before the Friday meeting.
  • 3 days after grades post to ask about the grading
  • Insertion sort - video: Learn Insertion Sort in 7 minutes by BroCode.
    The code here is also in Java but is similar to C (except the array.length).
  • Slides: Examples of Algorithms (pdf , pptx )
3 Tu 8/25 notes,
video
notes,
video
  • !!! Review insertion sort before this lecture !
  • the BugHouse now has tech support as well
  • insertions sort
    • simulate on paper code execution
    • proof that the insertion algorithm is correct
  • Indirect sorting for insertion sort.
  • Slides: Examples of Algorithms (pdf , ppt )
4 Th 08/28 notes,
video
notes,
video
  • linear search
  • binary search:
    • video: Algorithms: Binary Search by HackerRank.
      Watch the video at least until minute 1:48 to see the process.
      You can watch the rest as well. The code is in Java, but is very similar to C.
    • iterative and recursive implementations.
    • Fill in table to simmulate alg behavior.
  • time complexity motivation
  • TC slides general
5 Tu 09/02 notes, video notes, video
  • leetcode - how to select problems of a specific topic and specific difficulty level
6 Th 09/04 notes, video notes, video
  • leetcode - pb of the day - easy
  • TC continued - difficult loops, summations, log
  • 001
    • reviewed Big-O arithmetic (for 002 it was covered last lecture)
    • left for students to do the example with print_ct_sheep()
  • 002 - done example with sum of squares (see last table in notes)
7 Tu 09/09 notes,
video
notes,
video
continue TC: of if statements, Asymptotic bounds
8 Th 9/11 notes,
video
notes,
video
  • finish asymptotic bounds (notes and most of the worksheet)-
  • Asymptotic bounds: Θ, O, Ω, o, ω (definition, properties, usage)
  • 2785. Sort Vowels in a String
  • Count sort, Bucket sort, Radix sort (the LSD method) ( pptx)
  • count sort worksheet
  • 9 Tu 09/16 notes,
    video
    notes,
    video
  • sample exam questions
  • pow problem in hw - do not call the pow library fct.
  • non-comparison sorting - Count sort, Bucket sort, Radix sort (the LSD method) ( pptx)
    • finish countsort (5 min). Another example that has letters as keys.
    • Radix sort
    • Bucket sort - briefly for section 001 (minutes 0:52:00-1:00:40 of the video). It will not be in the exam.
  • NlgN lower bound on comparison-based sorting Algorithms
  • binary search-related problems recommended by Aryan
  • done in 001, but NOT DONE in 002:
    • binary search recursive write recurrence formula
    • Bucket sort
    • leetcode problem recommended on Thusday 9/11 can be solved with count sort
  • 10 Th 09/18 notes,
    video
    notes,
    video
  • binary search recursive write recurrence formula, analyze TC - 001
  • Mergesort , write recurrence
  • recursive function execution step by step ( pptx )
  • Mergesort notes ( pdf , docx ) prepared by Carl
  • Quicksort , quicksort work pptx
  • Recurrences
  • Not done:
    Check: volume is up, screen is shared, recording is on, (join the meeting from a 2nd device to monitor the chat).
    student FAQ
    free - long answer
    free - short response
    A B C D E response
    Other: Deeply Understanding Logarithms In Time Complexities and Their Role In Computer Science - Video recommended by a student

    Go to top

    To do, or to revisit later