[V3] Implement new Concept Exercise: sets
See original GitHub issueThis issue describes how to implement the sets
concept exercise for the JavaScript track.
Getting started
Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism’s maintainers’ time. So, before diving into the implementation, please read up on the following documents:
Please also watch the following video:
Goal
This exercise aims to teach students how (and why) to use sets in JavaScript.
Learning objectives
- Know how to add and remove elements from a
Set
- Know how to check whether a value is in a
Set
- Understand how
Set
checks equality - Know how to iterate over
Set
keys, values, and entries - Know how to convert between
Set
andArray
- Know how to use
Set
to remove duplicate elements from an array - Know how
WeakSet
differs fromSet
- Understand when
WeakSet
might be preferable toSet
Out of scope
- Implementing common set operations like
union
anddifference
Concepts
sets
Prerequisites
arrays
array-destructuring
equality
After
- Use cases for
WeakSet
- Lookup performance of
Set
vs.Array
Help
If you have any questions while implementing the exercise, please post the questions as comments in this issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
5/3/1 Workout Explained: How to Use the 5/3/1 Method - 2022
The key concept is to slowly build strength through four barbell weightlifting exercises: the parallel squat, bench press, deadlift, and the ...
Read more >3 Big Moves: Drop Sets, Supersets and Giant Sets - Oxygen Mag
Giant sets increase the intensity of a workout by overloading a muscle group and pushing it to its limit to burn fat and...
Read more >How To Build Muscle With A Fast Workout (More Gains, Half ...
Traditional method - 8 total sets of 6 reps with 2.5 minutes rest between sets OR; New set configuration - Called the 3/7...
Read more >American College of Sports Medicine position stand ... - PubMed
The optimal characteristics of strength-specific programs include the use of ... velocity with 3-5 min of rest between sets for multiple sets per...
Read more >Guide to Sets, Reps, and Rest Time in Strength Training
The first step is understanding these terms and how they apply to your workout program. In brief, a rep means repetition, and references...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@SleeplessByte I’d like to tackle this one 😃
I’m back from the dead and finally working on this 😅
I think I’m going to opt not to address
WeakSet
in this exercise after all, unless folks feel strongly that I should. I believe that it’s not used commonly enough outside of library code to be valuable to students.