Skip to content

shuaibw/lecturecode-cse105-july2025

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSE 105 Lecture Code - Fundamentals

Overview of introductory lectures covering language basics, algorithm analysis, and data structures.

Lectures

C vs Java Comparison

  • Basic syntax and structures in both languages
  • Memory management differences
  • String, array, and data handling

Algorithm Efficiency in Practice

  • O(n²) vs O(n) algorithm comparison
  • Performance measurements
  • Finding duplicates problem with different approaches

Dynamic Arrays Implementation

  • C and Java implementations side-by-side
  • Automatic resizing strategies
  • Growth and shrinking mechanics
  • Amortized time complexity

Quick Start

Each lecture folder has its own README with file descriptions and instructions to run the code.

# Example: Run C code from lec1
cd lec1_asymptotic
gcc compare.c -o compare && ./compare

For Java code, compile and run similarly using javac and java commands as specified in each lecture's README.

javac ClassName.java
java ClassName

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.1%
  • Python 0.9%