Showing 2 questions
Implement a basic calculator to evaluate a simple expression string. The expression can contain parentheses, addition, and subtraction.
#1. Basic Calculator
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.
#2. Sum of Prefix Scores of Strings
Page 1 of 1 · 2 total