All Questions
2 questions
2
votes
1
answer
3k
views
Dynamic Array Problem (Hacker rank)
I am trying to solve the Dynamic Array problem on HackerRank:
Create a list, seqList, of N empty sequences, where each sequence is indexed from 0 to N-1. The elements within each of the N ...
7
votes
1
answer
649
views
Swiftly counting rooms in a floor plan
Inspired by recent questions about counting the rooms in a floor plan
(1,
2,
3),
here is my attempt to solve the problem with a Swift program.
The problem (from “Counting Rooms” on CSES) is:
You ...