Sha256: 21323ec6a7ee5f8c22b32a93050ec7c86ee1b33bd7c8e85c52f9954c3b378fe8

Contents?: true

Size: 814 Bytes

Versions: 169

Compression:

Stored size: 814 Bytes

Contents

# Custom Set

Create a custom set type.

Sometimes it is necessary to define a custom data structure of some
type, like a set. In this exercise you will define your own set. How it
works internally doesn't matter, as long as it behaves like a set of
unique elements.

The tests require a constructor that takes an array. The internals of your custom set implementation can use other data structures but you may have to implement an outer constructor that takes exactly one array for the tests to pass.

Certain methods have a unicode operator equivalent. E.g. `intersect(CustomSet([1, 2, 3, 4]), CustomSet([]))` is equivalent to `CustomSet([1, 2, 3, 4]) ∩ CustomSet([])`.



## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

169 entries across 169 versions & 1 rubygems

Version Path
trackler-2.2.1.119 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.118 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.117 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.116 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.115 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.114 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.113 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.111 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.110 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.109 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.108 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.107 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.106 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.105 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.104 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.103 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.102 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.101 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.100 tracks/julia/exercises/custom-set/README.md
trackler-2.2.1.99 tracks/julia/exercises/custom-set/README.md