Showing 3 of 4 questions
Two players take turns erasing numbers from a chalkboard. Determine if the first player can win the game where the goal is to make the XOR of the remaining numbers zero.
#1. Chalkboard XOR Game
Implement a basic calculator to evaluate a simple expression string. The expression can contain non-negative integers, '+', '-', '*', '/' operators, and spaces; integer division should truncate toward zero.
#2. Basic Calculator II
Find the largest possible sum of elements from an array, where the sum is divisible by three.
#3. Greatest Sum Divisible by Three
Page 1 of 1 · 4 total