Dehnen’s Algorithm
  • is designed to compute the N-body problem with a computational complexity of approximately 𝑂(𝑁), making it significantly faster than traditional tree codes, which typically have a complexity of 𝑂(𝑁 π‘™π‘œπ‘” 𝑁)