
Recent Posts
Recent Comments
Archives
Categories
Meta
Category Archives: Algorithms
Just another counting problem
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 … Continue reading
Posted in Algorithms, Math
Leave a comment
Google interview question
Given an array of integers and an integer S, find if there are two numbers X and Y in the array such that X + Y = S. The problem was received by a friend during a phone interview with Google. A … Continue reading
Posted in Algorithms
1 Comment