Guidewire

  www.guidewire.com
Work in HR? Unlock Free Profile

Guidewire Senior Software Engineer Interview Question

I interviewed in San Mateo, CA and was asked:
"Detecting if periods of time intersect."
Add Tags [?]
Answer

Part of a Senior Software Engineer Interview Review - one of 91 Guidewire Interview Reviews

Answers & Comments

0
of 0
votes

ANSWER:

If end time of one is greater than the start time of the other AND vice-versa then "YES" else "NO"

Example.. Does Policy covers loss?
i.e. Does Policy Coverage Period (PCP) intersect with Loss Period (LP)?
STS = Start-Time-Stamp; ETS = End-Time-Stamp

If PCPETS >= LPSTS and LPETS >= PCPSTS then "YES" Else "NO".

- Umesha N Shetty on Jun 15, 2011

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.