Skip to content

Consider trying ext/pdb/ version of splay tree #50

@mattyv

Description

@mattyv

#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>

using namespace __gnu_pbds;

typedef tree<
int, // Key type.
null_type, // Mapped policy.
std::less, // Key comparison functor.
splay_tree_tag, // Specifies that we want a splay tree.
null_node_update // No node update policy.

plain_splay_tree;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions