.. (לתיקייה המכילה) | ||
Is there a limit on the strings length? | |
No. There is no limit on the input strings and the terms in the dictionary. Your implementation should support both long strings and empty strings. |
Are the characters in the strings and the terms case sensitive? | |
Yes, the characters are case sensitive. Meaning 'a' does not equal 'A'. |
I keep getting "doubly defined label" error even though i don't have two labels with the same name. | |
The assembler has a limit on the label's length, each label can have at most 8 characters. If a label is longer than 8 characters, only the first 8 characters are considered to be part of the label and the others are discarded. |
Can an empty string be a prefix for a term in the dictionary? | |
Yes. By the definition of prefix, the empty string is a prefix for all terms in a dictionary. |
What should max_string contain if max_score is 0? | |
As stated in the exercise, if several strings in the strings array have the same max_score, max_string should contain the address of the one with the lowest index in the array. |