Monthly Archives: November 2009

Printing a 2D matrix in diagonally spiral order

using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using System.Collections;   namespace ConsoleApplication1 {     class Program     {         static void Main(string[] args)         {             int[,] matrix = {                                 { 1, 2, 3, 4 },                                 { … Continue reading

Posted in Information Technology | Leave a comment

Companies Strategy Explained

I found this article through Google Reader, It was interesting enough to post it here………. Put eight monkeys in a room. In the middle of the room is a ladder, leading to a bunch of bananas hanging from a hook … Continue reading

Posted in Organizations | Leave a comment

Soccer Fest Snap 2009

Posted in Entertainment | Leave a comment

Binary representation of very large decimal numbers

using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using System.Collections;   namespace ConsoleApplication1 {     class Program     {         static void Main(string[] args)         {             string decimalNumber = "9632337040368467967";             Console.WriteLine("Binary representation of " + decimalNumber + ":"); … Continue reading

Posted in Information Technology | Leave a comment

Left to Right

Jin has just started his schooling and loves to be at school but he hates his mathematics classes. Recently his teacher taught him basic arithmetic. But the problem is that he doesn’t understand the hierarchy of the operators. For any … Continue reading

Posted in Information Technology | Leave a comment

Chandrakanta

You must have watched "Chandrakanta" serial in your childhood days. There is nothing to worry about even if u missed it. Let me tell you the story. Chandrakanta is a very beautiful princess of a state ‘Naugadh’ and is madly … Continue reading

Posted in Information Technology | Leave a comment

Greatest Odd Divisors

Let us define a function f(x) to be the greatest odd divisor of x, where x is a positive integer. You are given a positive integer N. Return f(1)+f(2)+. . .+f(N).   Input The input will contain an integer N … Continue reading

Posted in Information Technology | Leave a comment