Skip to content

Commit f8d82f7

Browse files
authored
Merge pull request #547 from fartem/705_Design_HashSet-update
2024-02-17 v. 4.9.1: updated "705. Design HashSet"
2 parents 538b426 + 03393c9 commit f8d82f7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

leetcode-ruby.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ require 'English'
55
::Gem::Specification.new do |s|
66
s.required_ruby_version = '>= 3.0'
77
s.name = 'leetcode-ruby'
8-
s.version = '4.9.0'
8+
s.version = '4.9.1'
99
s.license = 'MIT'
1010
s.files = ::Dir['lib/**/*.rb'] + %w[bin/leetcode-ruby README.md LICENSE]
1111
s.executable = 'leetcode-ruby'

lib/easy/705_design_hashset.rb

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ class MyHashSet
55
# Init
66
def initialize
77
@table = {}
8-
::Set.new
98
end
109

1110
# @param {Integer} key

0 commit comments

Comments
 (0)