Sha256: 85eeec6bbd43cc5a13e6917e9b35e1b0fe62dcfc03b1e25cf988d2e154b15594

Contents?: true

Size: 273 Bytes

Versions: 63

Compression:

Stored size: 273 Bytes

Contents

#ifndef BINARY_SEARCH_TREE_H
#define BINARY_SEARCH_TREE_H
#include <stddef.h>

typedef struct node node_t;

struct node {
   node_t *right;
   node_t *left;
   int data;
};

node_t *build_tree(int *tree_data, size_t tree_data_len);
int *sorted_data(node_t * tree);

#endif

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.179 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.178 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.177 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.176 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.175 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.174 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.173 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.172 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.171 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.170 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.169 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.167 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.166 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.165 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.164 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.163 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.162 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.161 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.160 tracks/c/exercises/binary-search-tree/src/example.h