.. This file is part of the OpenDSA eTextbook project. See
.. http://opendsa.org for more details.
.. Copyright (c) 2012-2020 by the OpenDSA Project Contributors, and
.. distributed under an MIT open source license.

.. avmetadata::
   :author: Molly

Intro to Linked Chains of Nodes
===============================

Objectives
----------

**Upon completion of this module, students will be able to:**

* Understand the characteristics and use of a Linked Chain of Nodes
* Implement a Linked Chain and associated methods
* Iterate though a Linked Chain
* Trace the execution of Linked Chain methods
* Compare Array-based and Linked Chain implementation
* Practice linked chain manipulation


Intro to Nodes Video
--------------------


.. raw:: html

    <center>
    <iframe src="https://cdnapisec.kaltura.com/p/2375811/sp/237581100/embedIframeJs/uiconf_id/41951101/partner_id/2375811?iframeembed=true&playerId=kplayer&entry_id=1_xfyll19n&flashvars[streamerType]=auto" width="560" height="560" allowfullscreen webkitallowfullscreen mozAllowFullScreen allow="autoplay *; fullscreen *; encrypted-media *" frameborder="0" title="Intro to Nodes"></iframe>
    </center>



LinkedChain Checkpoint 1
========================


.. avembed:: Exercises/MDTest/C1Q1.html ka

.. avembed:: Exercises/MDTest/C1Q2.html ka


Demo in Visualizer
=====================

Watch the video, view the associated slides, download and manipulate the associated code, then click "Next" at the bottom of the page to proceed to the next activity.


.. raw:: html

    <center>
    <iframe src="https://cdnapisec.kaltura.com/p/2375811/sp/237581100/embedIframeJs/uiconf_id/41951101/partner_id/2375811?iframeembed=true&playerId=kplayer&entry_id=1_dkk3roib&flashvars[streamerType]=auto" width="560" height="560" allowfullscreen webkitallowfullscreen mozAllowFullScreen allow="autoplay *; fullscreen *; encrypted-media *" frameborder="0" title="Demo in Visualizer"></iframe>
    </center>


See :download:`this example script </c/Users/molly/Documents/OpenDSA_write/OpenDSA/RST/en/MDTest/LinkedChain.java>`


LinkedChain Checkpoint 2
=========================


.. avembed:: Exercises/MDTest/C2Q1.html ka

.. avembed:: Exercises/MDTest/C2Q2.html ka

.. avembed:: Exercises/MDTest/C2Q3.html ka



Contains Animation
====================

Watch the video, view the associated slides, download and manipulate the associated code, then click "Next" at the bottom of the page to proceed to the next activity.


.. raw:: html

    <center>
    <iframe src="https://cdnapisec.kaltura.com/p/2375811/sp/237581100/embedIframeJs/uiconf_id/41951101/partner_id/2375811?iframeembed=true&playerId=kplayer&entry_id=1_q83rf3ey&flashvars[streamerType]=auto" width="560" height="560" allowfullscreen webkitallowfullscreen mozAllowFullScreen allow="autoplay *; fullscreen *; encrypted-media *" frameborder="0" title="Contains Animation"></iframe>
    </center>


TODO: Figure out about downloading slides


