This is fsilber's Typepad Profile.
Join Typepad and start following fsilber's activity
Join Now!
Already a member? Sign In
Recent Activity
If it's so hard to find someone who can write ten lines of code, why does every job interview I see declare that they're not interested in me unless I have years of exerience in each of a half-dozen specialized tools and APIs? As for the least common multiple problem, would you expect an efficient solution that computes prime factors, or would it suffice to write the following? int leastCommonMultiple(int n1, int n2) { return lcmHelper(1, n1, n2) } int lcmHelper(n, n1, n2) { return (n%n1 == 0 && n%n2 == 0) ? n : lcmHelper(n+1, n1, n2); }
Toggle Commented Feb 23, 2010 on The Non-Programming Programmer at Coding Horror
fsilber is now following The Typepad Team
Feb 23, 2010