Is my version of this binary search tree erase() method monstrous because I'm still a noob or because it's going to be long no matter what or both?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp_questions

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • BinarySearchTreeExercises

    Practicing with Binary Search Trees

  • The ordeal I have had with it makes me feel like it's full of duct tape and zip ties TBH. I am not in the know of benchmarking but using some timer class I found by googling; the run times for insertion and deletion of elements seem comparable between my raw version and the std::set. But like I indicated earlier, it is not a template class and we are only working with ints here. What I am wondering though is if an ideal erase() method is supposed really to be anywhere as long as mine turned out to be? Because seriously I felt like a dutch boy plugging holes on this thing for hours hahaha. Methods are below and entire class is available here https://github.com/sethvan/BinarySearchTreeExercise .

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Disassembler for x86-64 implemented from scratch in C++

    1 project | news.ycombinator.com | 21 May 2024
  • Ask HN: Which LLMs can run locally on most consumer computers

    2 projects | news.ycombinator.com | 21 May 2024
  • CADmium: A Local-First CAD Program Built for the Browser

    13 projects | news.ycombinator.com | 21 May 2024
  • The prospects for 128 bit processors (John R. Mashey, 1995)

    1 project | news.ycombinator.com | 21 May 2024
  • FridgeBot — GPT-4o shopping list automation

    2 projects | dev.to | 20 May 2024