equal
deleted
inserted
replaced
1 \documentclass{article} |
1 \documentclass{article} |
2 \usepackage{../style} |
2 \usepackage{../style} |
3 \usepackage{../graphics} |
3 \usepackage{../graphics} |
4 |
4 |
5 \newcommand{\solution}[1]{% |
|
6 \begin{quote}\sf% |
|
7 #1% |
|
8 \end{quote}} |
|
9 \renewcommand{\solution}[1]{} |
|
10 |
|
11 |
|
12 |
|
13 \begin{document} |
5 \begin{document} |
14 |
6 |
15 \section*{Homework 3} |
7 \section*{Homework 3} |
16 |
8 |
17 \HEADER |
9 %\HEADER |
18 |
10 |
19 \begin{enumerate} |
11 \begin{enumerate} |
20 \item The regular expression matchers in Java, Python and Ruby can be |
12 \item The regular expression matchers in Java, Python and Ruby can be |
21 very slow with some (basic) regular expressions. What is the main |
13 very slow with some (basic) regular expressions. What is the main |
22 reason for this inefficient computation? |
14 reason for this inefficient computation? |