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.139 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.138 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.137 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.136 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.135 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.134 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.133 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.132 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.131 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.130 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.129 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.128 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.127 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.126 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.125 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.124 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.123 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.122 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.121 tracks/c/exercises/binary-search-tree/src/example.h
trackler-2.2.1.120 tracks/c/exercises/binary-search-tree/src/example.h