 .. raw:: html
    <script type="text/javascript">
     $(function () {
       var moduleName = "additional-practice-exercises";
       var sections = ['changeheadpointer2', 'changeqpointer', 'changerpointer', 'changepointeedataindirect', 'circularlist2', 'circularlist3', 'changepointeenext2', 'findvalueinlist', 'addnodeattail', 'changenodesorder1', 'changenodesorder2'];
       TimeMe.initialize({
         idleTimeoutInSeconds: 10
       });
       sections.forEach(function (section, i) {
         TimeMe.trackTimeOnElement(section);
       });
       var timeObj = {};
       setInterval(function () {
         timeObj[moduleName.substring(0, 5)] = TimeMe.getTimeOnCurrentPageInSeconds().toFixed(2);
         sections.forEach(function (section, i) {
           timeObj[i + "-" + section.substring(0, 5)] = TimeMe.getTimeOnElementInSeconds(section).toFixed(2);
         });
         for (var sec of sections) {
         }
         console.log(JSON.stringify(timeObj))
       }, 2000);
     });
    </script>
 
.. _Exercises:


.. raw:: html

   <script>ODSA.SETTINGS.DISP_MOD_COMP = true;ODSA.SETTINGS.MODULE_NAME = "Exercises";ODSA.SETTINGS.MODULE_LONG_NAME = "Additional Practice Exercises";ODSA.SETTINGS.MODULE_CHAPTER = "modules"; ODSA.SETTINGS.BUILD_DATE = "2023-10-10 00:21:16"; ODSA.SETTINGS.BUILD_CMAP = false;JSAV_OPTIONS['lang']='en';JSAV_EXERCISE_OPTIONS['code']='java';</script>


.. |--| unicode:: U+2013   .. en dash
.. |---| unicode:: U+2014  .. em dash, trimming surrounding whitespace
   :trim:


.. 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: Mostafa Mohammed

Additional Practice Exercises
=============================

changeHeadPointer2
------------------

.. extrtoolembed:: 'changeHeadPointer2'
   :module: Exercises
   :long_name: changeHeadPointer2
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 416


changeQPointer
--------------

.. extrtoolembed:: 'changeQPointer'
   :module: Exercises
   :long_name: changeQPointer
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 417


changeRPointer
------------------

.. extrtoolembed:: 'changeRPointer'
   :module: Exercises
   :long_name: changeRPointer
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 418


changePointeeDataInDirect
-------------------------

.. extrtoolembed:: 'changePointeeDataInDirect'
   :module: Exercises
   :long_name: changePointeeDataInDirect
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 420


circularList2
-------------

.. extrtoolembed:: 'circularList2'
   :module: Exercises
   :long_name: circularList2
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 422


circularList3
-------------

.. extrtoolembed:: 'circularList3'
   :module: Exercises
   :long_name: circularList3
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 423


changePointeeNext2
------------------

.. extrtoolembed:: 'changePointeeNext2'
   :module: Exercises
   :long_name: changePointeeNext2
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 425


findValueInList
---------------

.. extrtoolembed:: 'findValueInList'
   :module: Exercises
   :long_name: findValueInList
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 427


addNodeAtTail
-------------

.. extrtoolembed:: 'addNodeAtTail'
   :module: Exercises
   :long_name: addNodeAtTail
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 430


changeNodesOrder1
-----------------

.. extrtoolembed:: 'changeNodesOrder1'
   :module: Exercises
   :long_name: changeNodesOrder1
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 431


changeNodesOrder2
-----------------

.. extrtoolembed:: 'changeNodesOrder2'
   :module: Exercises
   :long_name: changeNodesOrder2
   :enable_scrolling: False
   :frame_width: 1000
   :frame_height: 900
   :learning_tool: code-workout
   :workout_id: 432


