string/arrays sample problems