math-puzzles-computing.blogspot.com
Lateral Thinking, Analytical Mathematics and Computing: January 2011
http://math-puzzles-computing.blogspot.com/2011_01_01_archive.html
Lateral Thinking, Analytical Mathematics and Computing. Wednesday, January 26, 2011. My Tutorials on Geeksforgeeks. 27, Jan, 2011. These days blogs are becoming digital diaries. Some times I am questioning myself, am I the person posted such comment/article? I must have another blog exclusively for these links, eventhough we have applications like. The following are few links. Structure Member Alignment, Padding and Data Packing. Comment on Position of rightmost set bit. Wednesday, January 26, 2011.
math-puzzles-computing.blogspot.com
Lateral Thinking, Analytical Mathematics and Computing: Layout Engines - WebKit, Gecko, ...
http://math-puzzles-computing.blogspot.com/2011/04/layout-engines-webkit-gecko.html
Lateral Thinking, Analytical Mathematics and Computing. Friday, April 22, 2011. Layout Engines - WebKit, Gecko, . 22, April 2011. If we want to display an image on screen, how can we do it? We need an entity that paints the screen with the image content. These links helps as digital diary. That are part of web browsers. The concept of layout engine came from early development of web (Netscape navigator). The concept of layout engines is not limited to browsers. One can use it to design applications t...
math-puzzles-computing.blogspot.com
Lateral Thinking, Analytical Mathematics and Computing: October 2010
http://math-puzzles-computing.blogspot.com/2010_10_01_archive.html
Lateral Thinking, Analytical Mathematics and Computing. Wednesday, October 20, 2010. Car Race Puzzle (Google). Given 49 cars and 7 tracks of equal length. No two have the same speed. How to find the 25. At least how many races are needed? The puzzle posted here. I am providing my initial thought on the puzzle. We are given 49 cars and 7 tracks. We can arrange them into 7 groups. Conduct first race among these 7 groups, we will have seven ordered sets. For simplicity, assume that the result of 8. By caref...
math-puzzles-computing.blogspot.com
Lateral Thinking, Analytical Mathematics and Computing: October 2011
http://math-puzzles-computing.blogspot.com/2011_10_01_archive.html
Lateral Thinking, Analytical Mathematics and Computing. Saturday, October 29, 2011. Online Median Tracing Algorithm. Given a stream of integers (flow read from disk or some other resource, like a sensor counting some events). How can we find the median of elements read so far? It is an interesting online. I read the question on Gulli blog. And came up with some solution. I have posted the algorithm on Geeksforgeeks. Http:/ www.geeksforgeeks.org/archives/14873. Saturday, October 29, 2011. I am passionate ...
math-puzzles-computing.blogspot.com
Lateral Thinking, Analytical Mathematics and Computing: Opaque Pointer and Binary Compatibility
http://math-puzzles-computing.blogspot.com/2011/04/opaque-pointer-and-binary-compatibility.html
Lateral Thinking, Analytical Mathematics and Computing. Friday, April 22, 2011. Opaque Pointer and Binary Compatibility. 23, April 2011. When you compile a small application that prints "hello, world", we are implicitly depending on third party libraries usually developed by compiler vendor. If there is bug, or upgraded software from the vendor, can we run our application without recompiling? If yes, we say that the library is binary compatible. Binary compatibility depends on various factors. The interf...
math-puzzles-computing.blogspot.com
Lateral Thinking, Analytical Mathematics and Computing: July 2011
http://math-puzzles-computing.blogspot.com/2011_07_01_archive.html
Lateral Thinking, Analytical Mathematics and Computing. Saturday, July 30, 2011. Decision Trees - Fake Coin. I have pending post from few months. It is on application of decision trees to analyze algorithms. The puzzle is given below,. We are provided a two pan fair balance and N identically looking coins, out of which only one coin m. Defective. How can we trace which coin, if any, is odd one, and also determine whether it is lighter or heavier in minimum number of trials in the worst case? Again the li...
math-puzzles-computing.blogspot.com
Lateral Thinking, Analytical Mathematics and Computing: June 2011
http://math-puzzles-computing.blogspot.com/2011_06_01_archive.html
Lateral Thinking, Analytical Mathematics and Computing. Monday, June 6, 2011. Given huge text file or collection of documents. How will you search for a word in that collection? Is an open source library that indexes text for efficient information retrieval. Here. Lucene was originally implemented in Java, and there are port to other languages like CLucene in C . Lucene can be used as information retrieval on small sites. Monday, June 06, 2011. Subscribe to: Posts (Atom). I am Venki, a simple Indian, gra...
math-puzzles-computing.blogspot.com
Lateral Thinking, Analytical Mathematics and Computing: April 2011
http://math-puzzles-computing.blogspot.com/2011_04_01_archive.html
Lateral Thinking, Analytical Mathematics and Computing. Friday, April 22, 2011. Opaque Pointer and Binary Compatibility. 23, April 2011. When you compile a small application that prints "hello, world", we are implicitly depending on third party libraries usually developed by compiler vendor. If there is bug, or upgraded software from the vendor, can we run our application without recompiling? If yes, we say that the library is binary compatible. Binary compatibility depends on various factors. The interf...
math-puzzles-computing.blogspot.com
Lateral Thinking, Analytical Mathematics and Computing: Next Higher Number with Same Number of Set Bits
http://math-puzzles-computing.blogspot.com/2011/05/next-higher-number-with-same-number-of.html
Lateral Thinking, Analytical Mathematics and Computing. Sunday, May 1, 2011. Next Higher Number with Same Number of Set Bits. 1 - May - 2011. Given a number say, N - an integer. Find the next larger number with same set (logic 1) number of bits. For example consider N = 156 which is. In binary. It has 4 bits set to logic 1. The next immediate number with 4 bits set to logic 1 is 163. Try out the solution and compare it with my post on Geeksforgeeks. Sunday, May 01, 2011. Labels: Bit Math Fun. I am passio...