MCPcopy Index your code
hub / github.com/TheAlgorithms/Go / IsProperSubsetOf

Method IsProperSubsetOf

structure/set/set.go:33–33  ·  view source on GitHub ↗

IsProperSubsetOf: checks whether set is proper subset of set2 or not. ex: [1,2,3] proper subset of [1,2,3,4] -> true

(set2 Set[T])

Source from the content-addressed store, hash-verified

31 // IsProperSubsetOf: checks whether set is proper subset of set2 or not.
32 // ex: [1,2,3] proper subset of [1,2,3,4] -> true
33 IsProperSubsetOf(set2 Set[T]) bool
34 // IsSupersetOf: checks whether set is superset of set2 or not.
35 IsSupersetOf(set2 Set[T]) bool
36 // IsProperSupersetOf: checks whether set is proper superset of set2 or not.

Callers 1

TestIsProperSubsetOfFunction · 0.65

Calls

no outgoing calls

Tested by 1

TestIsProperSubsetOfFunction · 0.52