Practice: Linked Lists, Stacks and Queues, Recursion

Now it's time to practice what you learned!

You should have already created your Code Signal account. If you have not done so yet, please follow these instructions What is CodeSignal and How to Create Your Account

Tip: Before you dive into the practice tasks, revisit the core competency and guided project videos in this sprint.


Practice Overview

The following CodeSignal practice modules will test and reinforce your understanding of key data structures and algorithms covered in this unit:

ACS2M1: Linked Lists Implementation

This module focuses on fundamental linked list operations and concepts:

  • Search: Finding specific elements in a linked list
  • Insert: Adding new nodes at various positions
  • Delete: Removing nodes while maintaining list integrity
  • Traversal: Iterating through linked list structures

Key Challenge: Implementing a function to detect cycles in a linked list

Access ACS2M1 Practice Module

ACS2M2: Stacks and Queues

This module tests your ability to implement and use stack and queue data structures:

  • Stack Implementation: LIFO (Last-In-First-Out) behavior
  • Queue Implementation: FIFO (First-In-First-Out) behavior
  • Problem Solving: Using stacks to solve parenthesis matching and other problems
  • Circular Queues: Efficient queue implementation with fixed arrays

Key Challenge: Implementing a queue using two stacks

Access ACS2M2 Practice Module

ACS2M3: Recursion Fundamentals

This module explores recursive algorithms and their applications:

  • Base Cases: Identifying termination conditions
  • Recursive Case: Breaking problems into smaller instances
  • Call Stack: Understanding the memory implications of recursion
  • Problem Solving: Applying recursion to solve complex problems

Key Challenge: Implementing recursive solutions for tree traversal

Access ACS2M3 Practice Module


Preparation Tips

To maximize your success with these practice modules:


Getting Started

  1. Login to CodeSignal
  2. Click on the task links above
  3. Select your preferred language
  4. Click on NEXT to begin
  5. Agree with the Terms and Pledges and click START

Debugging Tips

If you encounter issues while solving the challenges:


Once all the questions for each task are completed in Code Signal, click on Finish the Test.

Next Steps

After completing these practice modules:

Review the related module materials and guided projects: