{"id":93295,"library":"ds","title":"DS","description":"Data structures (lists, stacks, trees, heaps, graphs..) in pure Ruby.","status":"active","version":"0.0.7","language":"ruby","source_language":null,"source_url":"https://github.com/knife/ds","tags":["data-structures","algorithms","utility"],"install":[{"cmd":"gem install ds","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'ds', '~> 0.0.7'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"DS","correct":"require 'ds'"}],"quickstart":{"code":"require 'ds'\n\nstack = DS::Stack.new\nstack.push(1)\nstack.push(2)\nputs stack.pop # => 2","lang":"ruby","description":"Use a stack data structure"},"warnings":[],"env_vars":null,"search_vec":"'algorithm':15 'data':2,13 'data-structur':12 'ds':1 'graph':8 'heap':7 'list':4 'pure':10 'rubi':11 'stack':5 'structur':3,14 'tree':6 'util':16","created_at":"2026-06-19T09:45:48.331943+00:00","updated_at":"2026-06-19T09:45:48.331943+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/knife/ds","github":"https://github.com/knife/ds","docs":"http://www.rubydoc.info/gems/ds/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}