Sha256: 9164dd67b46e35814c5a673ca40d4d43a55df16cb5142693715d009e81406ed2
Contents?: true
Size: 535 Bytes
Versions: 117
Compression:
Stored size: 535 Bytes
Contents
#ifndef ANAGRAM_H #define ANAGRAM_H #define MAX_STR_LEN 20 enum anagram_status { UNCHECKED = -1, NOT_ANAGRAM, IS_ANAGRAM }; struct candidate { enum anagram_status is_anagram; const char *candidate; }; struct candidates { struct candidate *candidate; size_t count; }; /** * @description - determines if any of the words in candidate are anagrams * for word. Word buffer and candidate structures may be modified. */ void anagrams_for(const char *word, struct candidates *candidates); #endif
Version data entries
117 entries across 117 versions & 1 rubygems