gagolews / gagolews/DataStructures
stack, queue: add as.list
- Dominant language
- C++
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
It'd be lovely if we were able to convert a stack or a queue to an R list object
so we need
`as.list.stack` and `as.list.queue`
moreover, queue/list constructor should mark `class` of retval to `queue`/`stack`
`print.stack`, `print.queue` and maybe `format.stack` and `format.queue` should be defined
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the stack and queue constructors and the related methods named in the issue: as.list.stack, as.list.queue, print.stack, print.queue, format.stack, and format.queue. Check how existing constructors assign class and how other data structures are printed or formatted. Done means stack and queue objects convert to R lists and expose consistent class, print, and format behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100