jwalsh / jwalsh/hy-algorithms

Implement linked list data structures and algorithms

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
data-structure difficulty:easy linked-list
Dominant language
Hy
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Create implementations for linked list data structures and common operations:

## Data Structures:
- Singly Linked List
- Doubly Linked List
- Circular Linked List
- Skip List

## Core Operations:
- Insertion (at beginning, end, and arbitrary position)
- Deletion (by value and position)
- Search and traversal
- Reversal
- Cycle detection

## Advanced Operations:
- Merge sorted linked lists
- Find intersection of two linked lists
- Remove duplicates
- Partition list around value
- Reorder list operations

## Requirements:
- Complete docstrings with complexity analysis
- Test cases for all operations
- Example usage
- Practical use case demonstrations

This will provide fundamental linked list implementations that follow Hy idioms and best practices.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.