Minor cleanup
This commit is contained in:
parent
8673634024
commit
54348b77dc
@ -13,6 +13,7 @@
|
|||||||
{Warm-Up: What's an AST?}
|
{Warm-Up: What's an AST?}
|
||||||
{Prepared by Mark on \today. \\ Based on a true story.}
|
{Prepared by Mark on \today. \\ Based on a true story.}
|
||||||
|
|
||||||
|
\vspace{2mm}
|
||||||
|
|
||||||
Say you have a valid string of simple arithmetic that contains no unary operators (like $3!$ or $-4$) and no parenthesis:
|
Say you have a valid string of simple arithmetic that contains no unary operators (like $3!$ or $-4$) and no parenthesis:
|
||||||
$$
|
$$
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
% use [nosolutions] flag to hide solutions.
|
|
||||||
% use [solutions] flag to show solutions.
|
|
||||||
\documentclass[
|
\documentclass[
|
||||||
solutions,
|
solutions,
|
||||||
nowarning,
|
nowarning,
|
||||||
@ -28,6 +26,8 @@
|
|||||||
{The Electrician's Warm-Up}
|
{The Electrician's Warm-Up}
|
||||||
{Prepared by Mark on \today}
|
{Prepared by Mark on \today}
|
||||||
|
|
||||||
|
\vspace{2mm}
|
||||||
|
|
||||||
Ivan the electician is working in an apartment. He has a box of switches, which come in three types:
|
Ivan the electician is working in an apartment. He has a box of switches, which come in three types:
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\begin{minipage}[t]{0.3\textwidth}
|
\begin{minipage}[t]{0.3\textwidth}
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
% use [nosolutions] flag to hide solutions.
|
|
||||||
% use [solutions] flag to show solutions.
|
|
||||||
\documentclass[
|
\documentclass[
|
||||||
solutions,
|
solutions,
|
||||||
nowarning,
|
nowarning,
|
||||||
@ -15,6 +13,7 @@
|
|||||||
{The Sysadmin's Warm-Up}
|
{The Sysadmin's Warm-Up}
|
||||||
{Prepared by Mark on \today}
|
{Prepared by Mark on \today}
|
||||||
|
|
||||||
|
\vspace{2mm}
|
||||||
|
|
||||||
Most of you have seen a hard drive. Many have touched one, and a lucky few have poked around inside one. These devices have two interesting properties:
|
Most of you have seen a hard drive. Many have touched one, and a lucky few have poked around inside one. These devices have two interesting properties:
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
% use [nosolutions] flag to hide solutions.
|
|
||||||
% use [solutions] flag to show solutions.
|
|
||||||
\documentclass[
|
\documentclass[
|
||||||
solutions,
|
solutions,
|
||||||
nowarning
|
nowarning
|
||||||
@ -19,6 +17,8 @@
|
|||||||
{The Regex Warm-Up}
|
{The Regex Warm-Up}
|
||||||
{Prepared by Mark on \today}
|
{Prepared by Mark on \today}
|
||||||
|
|
||||||
|
\vspace{2mm}
|
||||||
|
|
||||||
Last time, we discussed Deterministic Finite Automata. One interesting application of these mathematical objects is found in computer science: Regular Expressions. \\
|
Last time, we discussed Deterministic Finite Automata. One interesting application of these mathematical objects is found in computer science: Regular Expressions. \\
|
||||||
(abbreviated \say{regex}, which is pronounced like \say{gif})
|
(abbreviated \say{regex}, which is pronounced like \say{gif})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user