CS:3210 Fall 2014
Midterm Study Guide
Variables & Data Types / General Concepts
List 4 primitive (basic) variable data types.
What is a reference variable?
What is a pointer variable?
Can a pointer point to
CSE332 Week 2 Section Worksheet Solutions
1. Prove f(n) is O(g(n) where
According to the definition of O( ), we need to find positive real #s n0 & c so that
f(n)<=c*g(n) for all n>=n0
Pick n0=1 & c=10; f & cg are equal at
This le contains the exercises, hints, and solutions for Chapter 5 of the
book Introduction to the Design and Analysis of Algorithms, 2nd edition, by
A. Levitin. The problems that might be challenging for at least some students
are marked by ; those that