Showing 2 questions
Calculate the prefix score for each string in a given list of strings. The prefix score is determined by counting how many strings in the list have that prefix; return the sum of all prefix scores.
#1. Sum of Prefix Scores of Strings
Implement a basic calculator to evaluate a simple expression string. The expression can contain parentheses, addition, and subtraction.
#2. Basic Calculator