I want to create an algorithm to build a hex matrix with given: - max n rows - max m collumns - min t rown - min q collumns
containing the specific words from a list: "example", "test", "algorithm".
For example. To build a hex matrix with:
- max n = 5 rows - max m = 6 collumns - min t = 5 rows - min t = 4 collumns - containg words: "orange", "test"
Can anyone point me in the right direction of how to build this type of algorithm? ( C++, C#, Swift, Objective-C)