Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuay03 committed Jul 14, 2024
1 parent 0348986 commit c6e4209
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion lib/red_black_tree.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ def rotate_sub_tree! node, direction
opp_direction_child[direction] = node
node.parent = opp_direction_child

opp_direction_child # new root
opp_direction_child # new sub-tree root
end
end
6 changes: 0 additions & 6 deletions red-black-tree.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,4 @@ Gem::Specification.new do |spec|
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

# Uncomment to register a new dependency of your gem
# spec.add_dependency "example-gem", "~> 1.0"

# For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html
end

0 comments on commit c6e4209

Please sign in to comment.