Guidewire
4.5 of 5 245 reviews
www.guidewire.com Foster City, CA 1000 to 5000 Employees

Guidewire Senior Software Engineer Interview Question

I interviewed in San Mateo, CA and was asked:
"Write the function that calculates price of the cup of coffee where price of the condiments depends on size of the coffee cup. For example milk cost 10 c for small cup 15 c for medium and 20 c for large"
Tags: java
Add Tags [?]
Answer Flag Question

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

Answers & Comments

1
of 2
votes
You have to index elements of one array of enums by essentially using ordinals of another enum
- Interview Candidate on Jan 13, 2011 Flag Response
0
of 0
votes
Use Decorator pattern
- Yesu on Nov 22, 2013 Flag Response
0
of 0
votes
classic decorator design pattern, 23 design patterns book has this.
- welcomen on Dec 9, 2013 Flag Response

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


Guidewire – Why Work for Us?

Join the Guidewire Team! Thanks for your interest! We're pleased that you're thinking of investing your time and energy with us. At Guidewire, a combination of humane working conditions, an excellent market opportunity… Full Overview

Provided by employer [?]

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

Glassdoor is your free inside look at Guidewire interview questions and advice. All interview reviews posted anonymously by Guidewire employees and interview candidates.