Monthly Archives: November 2007

Interview Question: Initialization in a Class

Sample Question #237 (programming – C++ or Java) What’s wrong with the following class definition? class MyClass {   int i = 0;   int name = ‘Britney’; }

Posted in Sample Qs | 3 Comments

Online Networking Bad for You?

Last night I read on a career advice site that popular online social networking sites like MySpace and Facebook are really bad for job seekers because many employers ("one in four," according to the article) cross-check these sites to see … Continue reading

Posted in Advice and Tips | 2 Comments

Interview Question: Class Struggle

Sample Question #236 (programming – OOP)   In OOP (object-oriented programming), how many kinds of classes are there?  

Posted in Sample Qs | 1 Comment

Interview Question: Pricing Details

Sample Question #235 (finance – option pricing)   The Black-Scholes option pricing formula involves two terms, N(d1) and N(d2). What are the interpretations of these two terms?   [Hint: when an interviewer asks for an interpretation, he or she is … Continue reading

Posted in Sample Qs | 1 Comment

Interview Question: Exotic Options

Sample Question #234 (finance – options)   What are Asian-style options? How do you price them? Intuitively, should the premium on an Asian option be higher or lower than that on a European or American option?  

Posted in Sample Qs | 1 Comment

Books on Advanced C++ Programming

A C++ guru friend of mine, Zhaozi, recommends the following triology for learning advanced C++ programming: Effective C++: 55 Specific Ways to Improve Your Programs and Designs More Effective C++: 35 New Ways to Improve Your Programs and Designs Effective STL: … Continue reading

Posted in Books | Leave a comment

Interview Question: Coin Game

Sample Question #233 (probability theory – puzzle)   You’re invited to flip a fair coin 100 times. You start with $1. Every time you get heads, you double your money. Every time you get tails, you halve your money.   … Continue reading

Posted in Sample Qs | 4 Comments