StackOverflow Questions for Tag: hashset

sahil bansal
sahil bansal

Reputation: 218

Why the internal implementation of HashSet creates dummy objects to insert as values in HashMap rather than inserting nulls?

Score: 14

Views: 2716

Answers: 4

Read More
Kjara
Kjara

Reputation: 2912

Why is GetHashCode not called during Contains?

Score: 1

Views: 261

Answers: 1

Read More
halivingston
halivingston

Reputation: 3895

HashSet<T> versus Dictionary<K, V> w.r.t searching time to find if an item exists

Score: 145

Views: 108525

Answers: 5

Read More
Fee
Fee

Reputation: 786

Rust ownership for pushing to a vector whose members are referenced

Score: 0

Views: 91

Answers: 1

Read More
JakeQ
JakeQ

Reputation: 21

Problem with altering property's value of an object that is inside a HashSet in JAVA

Score: 0

Views: 110

Answers: 3

Read More
edwp
edwp

Reputation: 61

Efficient way to check if a ReadOnlyMemory<char> contains in a Hashset in C#

Score: 2

Views: 559

Answers: 1

Read More
Vishal A
Vishal A

Reputation: 175

Difference between a HashSet in C# and HashSet in Java. Any alternatives

Score: 0

Views: 297

Answers: 1

Read More
Jakub Znamenáček
Jakub Znamenáček

Reputation: 838

HashSet using custom hashCode

Score: 5

Views: 1690

Answers: 3

Read More
Anish
Anish

Reputation: 155

How to fetch the first element in a collection in java

Score: -2

Views: 2637

Answers: 3

Read More
Anthony Spendlove
Anthony Spendlove

Reputation: 51

CSVHelper doesn't store HashSet fields

Score: 2

Views: 68

Answers: 0

Read More
isaacg
isaacg

Reputation: 671

Can I randomly sample from a HashSet efficiently?

Score: 19

Views: 6493

Answers: 5

Read More
boreddad420
boreddad420

Reputation: 388

Linear probing hash set - efficient way to know if value is already inserted, just not in its hashed index

Score: 0

Views: 159

Answers: 1

Read More
user1010101
user1010101

Reputation: 1658

Using clear() vs copy() in a hashset

Score: 0

Views: 70

Answers: 1

Read More
zam_22
zam_22

Reputation: 21

Searching Time in HashSet vs. Searching Time in TreeSet in Java

Score: 1

Views: 59

Answers: 1

Read More
ACP
ACP

Reputation: 1

Why is a private variable of type HashSet is being shared among object instances of the class?

Score: -1

Views: 90

Answers: 2

Read More
saeedasack
saeedasack

Reputation: 3

what difference of hashSetOf() and mutableSetOf() method in kotlin

Score: 0

Views: 574

Answers: 2

Read More
Tariq
Tariq

Reputation: 36

I made a program that should send me two "best phones" from a list of phones in a text file, but only shows one?

Score: -1

Views: 129

Answers: 2

Read More
Della
Della

Reputation: 1632

Cleanest Way to Get a Set in Redis where Individual Elements Expire in 30 Days?

Score: 0

Views: 291

Answers: 1

Read More
Steewzz
Steewzz

Reputation: 21

Can't add an object to a Set

Score: 1

Views: 1166

Answers: 2

Read More
Lisa
Lisa

Reputation: 293

Compare a HashSet<string> with an array of strings in LINQ?

Score: 0

Views: 79

Answers: 0

Read More
PreviousPage 4Next