<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://ocw.cs.pub.ro/ppcarte/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://ocw.cs.pub.ro/ppcarte/feed.php">
        <title>books aa</title>
        <description></description>
        <link>https://ocw.cs.pub.ro/ppcarte/</link>
        <image rdf:resource="https://ocw.cs.pub.ro/ppcarte/lib/tpl/bootstrap3/images/favicon.ico" />
       <dc:date>2026-05-21T20:14:51+03:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:adt-formal&amp;rev=1544607000&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:adt&amp;rev=1480064119&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:ammortized-analysis&amp;rev=1574767551&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:beyondre&amp;rev=1477917070&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:classes&amp;rev=1480083315&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:decidability&amp;rev=1571111596&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:exam&amp;rev=1610524480&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:examen-optional&amp;rev=1610525202&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:guidelines&amp;rev=1476098678&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:induction&amp;rev=1484143850&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture0&amp;rev=1728917650&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture1&amp;rev=1731334037&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture2&amp;rev=1731334046&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture3&amp;rev=1731334067&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture4&amp;rev=1731333735&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture5&amp;rev=1731333782&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture6&amp;rev=1731333932&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture7&amp;rev=1732269122&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture8&amp;rev=1732269133&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture9&amp;rev=1732269146&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture10&amp;rev=1732269158&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture11&amp;rev=1732269074&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture12&amp;rev=1733224539&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture13&amp;rev=1733480500&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture14&amp;rev=1733480583&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture15&amp;rev=1734082903&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture16&amp;rev=1736950547&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture17&amp;rev=1736950581&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture18&amp;rev=1737377190&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:main&amp;rev=1475527803&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:nondeterminism&amp;rev=1479218343&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:notations&amp;rev=1572868327&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:pcp&amp;rev=1610916505&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:playground&amp;rev=1622893822&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:recurrences&amp;rev=1478796635&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:rules&amp;rev=1489992647&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:sat&amp;rev=1480064085&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:syllabus&amp;rev=1633366947&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:team&amp;rev=1761044607&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema&amp;rev=1767006860&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_1&amp;rev=1541540652&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_1_2018&amp;rev=1541525148&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_1_2019&amp;rev=1574500738&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_2&amp;rev=1509225286&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_3&amp;rev=1508484445&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_4&amp;rev=1512859302&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:timespace&amp;rev=1478070138&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://ocw.cs.pub.ro/ppcarte/lib/tpl/bootstrap3/images/favicon.ico">
        <title>books</title>
        <link>https://ocw.cs.pub.ro/ppcarte/</link>
        <url>https://ocw.cs.pub.ro/ppcarte/lib/tpl/bootstrap3/images/favicon.ico</url>
    </image>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:adt-formal&amp;rev=1544607000&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-12-12T11:30:00+03:00</dc:date>
        <title>aa:adt-formal</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:adt-formal&amp;rev=1544607000&amp;do=diff</link>
        <description>Abstract Datatypes (ADT)

A tentative definition

In mathematics, algebraic structures consist of a (carrier) set (say - the natural numbers) as well as operations on elements of the set, satisfying specific axioms (e.g. commutativity for addition).
$  \lnot p \wedge q $$ p$$ q$$ p$$ q$$ p$$ q$$ p$$ q$$ Void : List$$ Cons : E \times List \rightarrow List$$ Void$$ Cons$$ Cons(1,Cons(2,Cons(3,Void)))$$ Cons(2,Cons(2,Void))$$ isEmpty : List \rightarrow \mathbb{B}$$ size : List \rightarrow \mathbb{N…</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:adt&amp;rev=1480064119&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-11-25T10:55:19+03:00</dc:date>
        <title>aa:adt</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:adt&amp;rev=1480064119&amp;do=diff</link>
        <description>Abstract Data Types - Intro

A overview into correctness

Consider the following list of position papers:

	*   Goto statement considered harmful
	*   Programming with abstract data types
	*   Object Oriented Programming - A personal disaster
	*   Lisp: Good News, Bad News, How to Win Big

These papers/blog-posts share a strong view (not necessarily overlapping nor in opposition) regarding how programs should be developed in the right way$ !n$</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:ammortized-analysis&amp;rev=1574767551&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-26T13:25:51+03:00</dc:date>
        <title>aa:ammortized-analysis</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:ammortized-analysis&amp;rev=1574767551&amp;do=diff</link>
        <description>Amortised analysis

Motivation

Recall our FIFO implementation relying on two lists, from the previous lecture. This implementation has several advantages:

	*  it offers constant costs for insertion, removal (dequeue), retrieval;
	*  the implementation allows $ \Theta(n)$$ n$$ O(n)$$ \Theta(n)$$ 1$$  S = op_1, \ldots, op_n $$ n$$ op_i$$ enqueue$$ dequeue$$ top$$ S$$ S$$ top$$ cost(S_1) \geq cost(S_2)$$ S_1$$ S_2$$ S_2$$ top$$ cost(S)= cost(ins_l) + cost(del_l) + cost(ins_r) + cost(del_r)$$ ins_…</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:beyondre&amp;rev=1477917070&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-10-31T14:31:10+03:00</dc:date>
        <title>aa:beyondre</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:beyondre&amp;rev=1477917070&amp;do=diff</link>
        <description>Beyond RE

Recap

In the last lecture:

	*  we have introduced the classes $ R$  and $ RE$ , which classify decision problems into:
		*  decidable (which can be solved by algorithms which always terminate).
		*  semi-decidable (which can be solved by algorithms which terminate only if the answer is $ f$$ f^*$$ f^* \leq_T f$$ f$$ f^*$$ RE$$ RE$$ \overline{f}(n) = \left\{ \begin{array}{ll} 1 &amp; \mbox{iff } f(n)=0\\0 &amp; \mbox{iff } f(n)=1 \end{array} \right.$$ f_h$$ M$$ w$$ \overline{\overline{f}} = …</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:classes&amp;rev=1480083315&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-11-25T16:15:15+03:00</dc:date>
        <title>aa:classes</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:classes&amp;rev=1480083315&amp;do=diff</link>
        <description>Complexity Classes

Preliminaries

We define:

$ DTIME(T(n))=\{ f : \mathbb{N} \rightarrow \{0,1\} \mid f \mbox{ is decidable in time } O(T(n))\}$

and

$ NTIME(T(n))=\{ f:\mathbb{N} \rightarrow \{0,1\} \mid f \mbox{ is decidable by a } NTM \mbox{ in time } O(T(n))\}$

$ DTIME(T(n))$  is the class of problems which are solvable by a Turing Machine having execution time $ T(n)$ , while $ NTIME(T(n))$  is the class of problems which are solvable by a nondeterministic Turing Machine having executio…</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:decidability&amp;rev=1571111596&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-15T06:53:16+03:00</dc:date>
        <title>aa:decidability</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:decidability&amp;rev=1571111596&amp;do=diff</link>
        <description>Undecidable problems

How many problems and how many ways of solving them?

Consider the following sets:

	*  $ \mathcal{M}$  - the set of all Turing Machines
	*  $ \mathbb{H}\text{om}(\mathbb{N},\{0,1\})$  - the set of all decision problems.

Note: in this lecture, we will interchangeably refer to problems as:$ f:\mathbb{N}\rightarrow\{0,1\}$$ f:\mathbb{\Sigma^*}\rightarrow\{0,1\}$$ \mathcal{M}$$ M\in\mathcal{M}$$ enc(M)\in\Sigma^*$$ \mathcal{M}$$ \Sigma$$ \Sigma_M$$ \Sigma$$ enc:\mathcal{M} \r…</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:exam&amp;rev=1610524480&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-13T09:54:40+03:00</dc:date>
        <title>aa:exam</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:exam&amp;rev=1610524480&amp;do=diff</link>
        <description>Examen AA 2020-2021

Examenul la Analiza Algoritmilor valorează 4 puncte. Pentru promovarea examenului este necesar 50% din punctaj (2 puncte).
Cele 4 puncte vor fi obținute în cadrul a doua probe:

	*  1.5 puncte - proba scrisă. 
	*  2.5 puncte -</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:examen-optional&amp;rev=1610525202&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-13T10:06:42+03:00</dc:date>
        <title>aa:examen-optional</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:examen-optional&amp;rev=1610525202&amp;do=diff</link>
        <description>Examen optional 2020-2021

Vineri 29 ianuarie, de la ora 10:00, in cadrul ultimului curs de AA, vom organiza un examen-interviu (oral) optional, la care studentii se pot inscrie pentru a degreva examenul oral din sesiune. Cu acordul studentilor, vom inregistra o parte din interviuri, astfel incat procedura sa poata fi transparenta pentru toti studentii. Cateva observatii vizavi de acest examen:</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:guidelines&amp;rev=1476098678&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-10-10T14:24:38+03:00</dc:date>
        <title>aa:guidelines</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:guidelines&amp;rev=1476098678&amp;do=diff</link>
        <description>Guidelines

Resources &amp; Content

	*  The Wiki will contain:
		*  all the material (syllabus) covered in the AA lecture, including definitions, proofs, examples.
		*  all material covered in labs, including some solved exercises

	*  The Lecture will feature:</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:induction&amp;rev=1484143850&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-01-11T16:10:50+03:00</dc:date>
        <title>aa:induction</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:induction&amp;rev=1484143850&amp;do=diff</link>
        <description>Structural induction

Motivation

In the last chapter, we have specified two ADTs: $ List$  and $ FIFO$ , as well as one $ FIFO$  implementation relying on lists. The following were open issues:

	*  while selecting axioms for $ append$  and $ reverse$ , we claimed that they guarantee certain properties of the ADT hold$ T$$ O : T$$ O$$ T$$ E: X \rightarrow T$$ E$$ T$$ T$$ X$$ I : T \rightarrow T$$ I: X \times T \rightarrow T$$ I: T\times T\rightarrow T$$ I$$ T$$ T$$ \forall t \in T : P(t)$$ T$$ …</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture0&amp;rev=1728917650&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-14T17:54:10+03:00</dc:date>
        <title>aa:lecture0</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture0&amp;rev=1728917650&amp;do=diff</link>
        <description>3 Problems Challenge

[3 Problems Challenge (slides)]

[3 Problems Challenge - Summary (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture1&amp;rev=1731334037&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-11T16:07:17+03:00</dc:date>
        <title>aa:lecture1</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture1&amp;rev=1731334037&amp;do=diff</link>
        <description>Problems and Algorithms + Turing Machines

[Problems and algorithms (lecture notes)]

[Problems and algorithms (slides)]

[Turing Machines (lecture notes)]

[Turing Machines (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture2&amp;rev=1731334046&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-11T16:07:26+03:00</dc:date>
        <title>aa:lecture2</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture2&amp;rev=1731334046&amp;do=diff</link>
        <description>Computing

[Computing (lecture notes)]

[Computing (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture3&amp;rev=1731334067&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-11T16:07:47+03:00</dc:date>
        <title>aa:lecture3</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture3&amp;rev=1731334067&amp;do=diff</link>
        <description>Multitape TMs + Universal TMs

[03a. Multitape Turing Machines (lecture notes)]

[03a. Multitape Turing Machines (slides)]

[03b. Universal Turing Machines (lecture notes)]

[03b. Universal Turing Machines (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture4&amp;rev=1731333735&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-11T16:02:15+03:00</dc:date>
        <title>aa:lecture4</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture4&amp;rev=1731333735&amp;do=diff</link>
        <description>Undecidable Problems

[04. Undecidable Problems (lecture notes)]

[04. Undecidable Problems (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture5&amp;rev=1731333782&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-11T16:03:02+03:00</dc:date>
        <title>aa:lecture5</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture5&amp;rev=1731333782&amp;do=diff</link>
        <description>Reductions

Lecture notes:

[05. Reductions (lecture notes)]

[05. Reductions (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture6&amp;rev=1731333932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-11T16:05:32+03:00</dc:date>
        <title>aa:lecture6</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture6&amp;rev=1731333932&amp;do=diff</link>
        <description>Undecidability Results

[06a. Rice's Theorem (lecture notes)]

[06a. Rice's Theorem (slides)]

[06b. Post's Correspondence Problem (lecture notes)]

[06b. Post's Correspondence Problem (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture7&amp;rev=1732269122&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-22T11:52:02+03:00</dc:date>
        <title>aa:lecture7</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture7&amp;rev=1732269122&amp;do=diff</link>
        <description>Computational Resources

[07. Computational resources (lecture notes)]

[07. Computational resources (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture8&amp;rev=1732269133&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-22T11:52:13+03:00</dc:date>
        <title>aa:lecture8</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture8&amp;rev=1732269133&amp;do=diff</link>
        <description>Complexity Across Models

[08. Complexity across models (lecture notes)]

[08. Complexity across models (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture9&amp;rev=1732269146&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-22T11:52:26+03:00</dc:date>
        <title>aa:lecture9</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture9&amp;rev=1732269146&amp;do=diff</link>
        <description>&quot;Hard?&quot; problems

[09. &quot;Hard?&quot; problems (lecture notes)]

[09. &quot;Hard?&quot; problems (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture10&amp;rev=1732269158&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-22T11:52:38+03:00</dc:date>
        <title>aa:lecture10</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture10&amp;rev=1732269158&amp;do=diff</link>
        <description>Polynomial-time reductions

[10. Polynomial-time reductions (lecture notes)]

[10. Polynomial-time reductions (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture11&amp;rev=1732269074&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-22T11:51:14+03:00</dc:date>
        <title>aa:lecture11</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture11&amp;rev=1732269074&amp;do=diff</link>
        <description>P vs. NP

[11. P vs. NP (lecture notes)]

[11. P vs. NP (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture12&amp;rev=1733224539&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-03T13:15:39+03:00</dc:date>
        <title>aa:lecture12</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture12&amp;rev=1733224539&amp;do=diff</link>
        <description>Hardness and completeness

[12. Hardness and completeness (lecture notes)]

[12. Hardness and completeness (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture13&amp;rev=1733480500&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-06T12:21:40+03:00</dc:date>
        <title>aa:lecture13</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture13&amp;rev=1733480500&amp;do=diff</link>
        <description>Recurrence relations

[13. Recurrence relations (lecture notes)]

[13. Recurrence relations (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture14&amp;rev=1733480583&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-06T12:23:03+03:00</dc:date>
        <title>aa:lecture14</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture14&amp;rev=1733480583&amp;do=diff</link>
        <description>The Master Method

[14. The Master Method (lecture notes)]

[14. The Master Method (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture15&amp;rev=1734082903&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-13T11:41:43+03:00</dc:date>
        <title>aa:lecture15</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture15&amp;rev=1734082903&amp;do=diff</link>
        <description>Quicksort

[15. Quicksort (lecture notes)]

[15. Quicksort (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture16&amp;rev=1736950547&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-15T16:15:47+03:00</dc:date>
        <title>aa:lecture16</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture16&amp;rev=1736950547&amp;do=diff</link>
        <description>Amortized Analysis

[16. Amortized Analysis (lecture notes)]

[16. Amortized Analysis (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture17&amp;rev=1736950581&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-15T16:16:21+03:00</dc:date>
        <title>aa:lecture17</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture17&amp;rev=1736950581&amp;do=diff</link>
        <description>Algebraic Data Types

[17. Algebraic Data Types (lecture notes)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture18&amp;rev=1737377190&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-20T14:46:30+03:00</dc:date>
        <title>aa:lecture18</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:lecture18&amp;rev=1737377190&amp;do=diff</link>
        <description>Structural Induction

[18. Structural Induction (lecture notes)]

[18. Structural Induction (slides)]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:main&amp;rev=1475527803&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-10-03T23:50:03+03:00</dc:date>
        <title>aa:main</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:main&amp;rev=1475527803&amp;do=diff</link>
        <description>Algorithms and Complexity Theory

	*  Introduction
	*  Problems and Algorithms
	*  Undecidable problems
	*  Computability Theory
	*  Complexity Theory
	*  Bibliography
	*  Rules
	*   Macros</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:nondeterminism&amp;rev=1479218343&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-11-15T15:59:03+03:00</dc:date>
        <title>aa:nondeterminism</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:nondeterminism&amp;rev=1479218343&amp;do=diff</link>
        <description>Nondeterminism

Intuition

In the figure below, we show an ASCII map:

 
       ---- C3 --- dst --- C4 --- cliff
      /     |              |
     /      |              |
  src  &gt;&gt;-- C1 ----------- C2 --- cliff


Suppose a robot starts from position $ \delta$$ q_0$$ SAT$$ SAT$$ \psi$$ \psi = C_1 \wedge C_2 \wedge \ldots \wedge C_n$$ i:1 \leq i \leq n$$ C_i = L_{i1} \vee L_{i2} \vee \ldots \vee L_{im_i}$$ j:1 \leq j \leq m_i$$ L_{ij} = x$$ L_{ij}=\neg x$$ x$$ 1$$ I$$ I$$ \psi$$ \psi$$ \psi$$ n$$ …</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:notations&amp;rev=1572868327&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-04T13:52:07+03:00</dc:date>
        <title>aa:notations</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:notations&amp;rev=1572868327&amp;do=diff</link>
        <description>Asymptotic notations

Motivation

Let us consider the array sorting problem. Although it is not a decision problem, it is a sufficiently simple example. The sorting problem is sub-exponential: it can be solved in polynomial time (by many known algorithms and implicitly, by a Turing Machine).$ \Theta(g(n)) = \left \{ f : \mathbb{R} \rightarrow \mathbb{R} \left\lvert \begin{array}{ll} \exists c_1,c_2 \in \mathbb{R}^+ \\ \exists n_0 \in \mathbb{N} \end{array}, \forall n \geq n_0, c_1g(n) \leq f(n) …</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:pcp&amp;rev=1610916505&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-17T22:48:25+03:00</dc:date>
        <title>aa:pcp</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:pcp&amp;rev=1610916505&amp;do=diff</link>
        <description>PCP is undecidable

In this section, we will prove that Post's Correspondence Problem is undecidable. Compared with the other proofs of this Chapter, PCP undecidability will be more involved. Basically, the proof is a two-step reduction from the halting problem$ \alpha_i, \beta_i$$ \beta_i$$ F=\{s_{yes},s_{no}\}$$ 0/1$$ M$$ w$$ w \neq \epsilon $$ \alpha_1, \ldots, \alpha_n$$\beta_1, \ldots, \beta_n$$ a_1a_2 \ldots a_k$$ a_1 = 1$$ a_i = 1, \ldots, n$$ \alpha_{a_1}\alpha_{a_2}\ldots \alpha_{a_k} =…</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:playground&amp;rev=1622893822&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-06-05T14:50:22+03:00</dc:date>
        <title>aa:playground</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:playground&amp;rev=1622893822&amp;do=diff</link>
        <description>Playground


def f (v, x):
  n = len(v)
  if n == 0:
     return 1
  return x*f(v[0:n/2], x-1)</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:recurrences&amp;rev=1478796635&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-11-10T18:50:35+03:00</dc:date>
        <title>aa:recurrences</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:recurrences&amp;rev=1478796635&amp;do=diff</link>
        <description>TODO</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:rules&amp;rev=1489992647&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-03-20T08:50:47+03:00</dc:date>
        <title>aa:rules</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:rules&amp;rev=1489992647&amp;do=diff</link>
        <description>REGULI

Punctaj

	*  Parcurs: 6p
	*  Examen: 4p 
	*  pentru intrarea in examen sunt necesare minim 3p din punctajul de parcurs
	*  pentru promovarea examenului sunt necesare minim 2p

Punctajul pe parcurs consta din:

	*  proiect: 3p
	*  teste: 2p
	*</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:sat&amp;rev=1480064085&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-11-25T10:54:45+03:00</dc:date>
        <title>aa:sat</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:sat&amp;rev=1480064085&amp;do=diff</link>
        <description>SAT is NP-complete

We have already shown in a previous lecture that $ SAT \in NP$ . It remains to show that $ SAT$  is NP-hard, i.e. $ \forall f \in NP$  we have $ f \leq_p SAT$ .

Roadmap

The difficulty of the proof relies in the fact that we cannot use the reduction technique shown in the previous lecture, since there is no choice of another NP-hard problem. Therefore, we need to prove that, for $ f \in NP$$ f$$ T(n) = n^k$$ k \in \mathbb{N}$$ f \leq_p SAT$$ w$$ \varphi_w$$ \forall w: f(w) =…</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:syllabus&amp;rev=1633366947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-10-04T20:02:27+03:00</dc:date>
        <title>aa:syllabus</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:syllabus&amp;rev=1633366947&amp;do=diff</link>
        <description>Syllabus

I Teoria computabilității

1. Introducere; probleme și algoritmi

2. Mașina Turing

3. Mașina Turing Universală

4. Acceptare și Decidabilitate

5. Probleme nedecidabile; problema terminării

6. Reduceri Turing

7. Teorema lui Rice</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:team&amp;rev=1761044607&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-21T14:03:27+03:00</dc:date>
        <title>aa:team</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:team&amp;rev=1761044607&amp;do=diff</link>
        <description>Analiza Algoritmilor 2024-2025

Echipa

	*  Matei POPOVICI
	*  Mihai-Valentin DUMITRU
	*  Vlad-Andrei Badoiu
	*  Vlad JUJA
	*  Ștefan-Octavian STEREA
	*  Alexandru-Petru TOADER
	*  Cezar-Stelian ZLATEA
	*  Andrei-Adrian RĂGMAN
	*  Balcan Rares Stefan
	*  Mihnea-Alex GHEORGHE
	*  Andrei DÂRLĂU
	*  Aureliu Valentin ANTONIE
	*  Octavian-Alexandru Osnaga

Orar

Curs
 Zi  Interval orar  Vineri  10:00-12:00 
Laboratoare
 Grupă  Zi  Interval orar  Sală  Asistent  321CBa  Joi  16:00-18:00  EG209   Mihne…</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema&amp;rev=1767006860&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-29T13:14:20+03:00</dc:date>
        <title>aa:tema</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema&amp;rev=1767006860&amp;do=diff</link>
        <description>Deadline: 16 ianuarie 2026

Schelet de cod:

Tema: Editor de Text

Scopul acestei teme este optimizarea backend-ului unui editor de text. În varianta inițială, stocarea textului într-un array continuu impunea mutarea tuturor caracterelor la fiecare inserare sau ștergere, rezultând o complexitate de O(N).</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_1&amp;rev=1541540652&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-06T23:44:12+03:00</dc:date>
        <title>aa:tema_1</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_1&amp;rev=1541540652&amp;do=diff</link>
        <description>TEMA 1

Responsabili tema: Mihaela Catrina, Teodor Popescu

	*  I. (0.5 x 6 = 3p) Pentru fiecare din urmatoarele recurente aplicati teorema Master (sau argumentati de ce nu poate fi aplicata, daca este cazul):
			*  $ T(n) = T(\frac{n}{2}) + 2^n$ 
			*  $ T(n) = 2^nT(\frac{n}{2}) + n^n$ 
			*  $ T(n) = 2T(\frac{n}{4}) + n^{0.51}$ 
			*  $ T(n) = 64T(\frac{n}{8}) - n^2log n$ 
			*  $ T(n) = T(\frac{n}{2}) + n(2 - cos n)$ 
$ T(n) = 16T(\frac{n}{4}) + n!$$ f(n)$$ T(n) = \theta(f(n))$$ T(n) = \frac{…</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_1_2018&amp;rev=1541525148&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-06T19:25:48+03:00</dc:date>
        <title>aa:tema_1_2018</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_1_2018&amp;rev=1541525148&amp;do=diff</link>
        <description>TEMA 1

Responsabili tema: Mihaela Catrina, Teodor Popescu

	*  I. (0.5 x 6 = 3p) Pentru fiecare din urmatoarele recurente aplicati teorema Master (sau argumentati de ce nu poate fi aplicata, daca este cazul):
			*  $ T(n) = T(\frac{n}{2}) + 2^n$ 
			*  $ T(n) = 2^nT(\frac{n}{2}) + n^n$ 
			*  $ T(n) = 2T(\frac{n}{4}) + n^{0.51}$ 
			*  $ T(n) = 64T(\frac{n}{8}) - n^2log n$ 
			*  $ T(n) = T(\frac{n}{2}) + n(2 - cos n)$ 
$ T(n) = 16T(\frac{n}{4}) + n!$$ f(n)$$ T(n) = \theta(f(n))$$ T(n) = \frac{…</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_1_2019&amp;rev=1574500738&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-23T11:18:58+03:00</dc:date>
        <title>aa:tema_1_2019</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_1_2019&amp;rev=1574500738&amp;do=diff</link>
        <description>TEMA 1

Responsabili tema: Peticila Alexandru, Peticila Constantin

	*  I. (0.4 x 5 = 2p) Pentru fiecare din urmatoarele recurente aplicati teorema Master (sau argumentati de ce nu poate fi aplicata, daca este cazul):
			*  $ T(n) = 4T(\frac{n}{2}) + n^{2.5}$ 
			*  $ T(n) =  4T(\frac{n}{2}) + n^2 log(n)$ 
			*  $ T(n) = T(\sqrt{n}) + \Theta(log( log( n)))$ 
			*  $ T(n) = T(\frac{n}{2}) + n(2 - cos n)$ 
$ T(n) = 3T(\frac{n}{3}) + \frac{n}{log (n)}$$ f(n)$$ T(n) = \Theta(f(n))$$ T(n) = T(n - a) …</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_2&amp;rev=1509225286&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-10-29T00:14:46+03:00</dc:date>
        <title>aa:tema_2</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_2&amp;rev=1509225286&amp;do=diff</link>
        <description>Tema 2

Enunț: 

Last update: 29.10.2017 00:14

Precizari

Tema va fi redactată in echipe de câte 2 persoane. Echipele vor fi stabilite in cadrul laboratorului.

Tema va fi predată la cursul din data de 10 noiembrie 2017 pentru primirea punctajului întreg sau la</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_3&amp;rev=1508484445&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-10-20T10:27:25+03:00</dc:date>
        <title>aa:tema_3</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_3&amp;rev=1508484445&amp;do=diff</link>
        <description>Tema 3 - Reduceri Polinomiale

[Enunt]</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_4&amp;rev=1512859302&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-10T00:41:42+03:00</dc:date>
        <title>aa:tema_4</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:tema_4&amp;rev=1512859302&amp;do=diff</link>
        <description>Tema 4 - Reduceri polinomiale</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:timespace&amp;rev=1478070138&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-11-02T09:02:18+03:00</dc:date>
        <title>aa:timespace</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=aa:timespace&amp;rev=1478070138&amp;do=diff</link>
        <description>Time and space

In Computability Theory, we have used classes such as $ R$  and $ RE$  in order to establish a hierarchy of hardness for problem solvability (in terms of the Turing Machine).

We now take into account the resources spent by the Turing Machine, during the computation process.$ M$$ \mathcal{T}_M, \mathcal{S}_M : \Sigma^* \rightarrow \mathbb{N}$$ \mathcal{T}_M(w)$$ \mathcal{S}_M(w)$$ M$$ w$$ \mathbf{while} \mbox{ } n \lt 100$$ \quad n=n+1$$ \mathbf{return} \mbox{ } 1$$ Alg$$ n=0$$ n…</description>
    </item>
</rdf:RDF>
