Fiserv interview question

programming for prime number. Optional in java database design micro services circuit breaker