Daily Archives: September 28, 2012

Object Oriented Design for a Chess game – Stack Overflow

From Evernote: Object Oriented Design for a Chess game – Stack Overflow Clipped from: http://stackoverflow.com/questions/4168002/object-oriented-design-for-a-chess-game 13down votefavorite9 share [fb]share [tw] I am trying to get a feel of how to design and think in an Object Oriented manner and want … Continue reading

Posted in Uncategorized | Leave a comment

GoogleInterviewQuestions – ZHIGANG.ORG

From Evernote: GoogleInterviewQuestions – ZHIGANG.ORG Clipped from: http://zhigang.org/wiki/GoogleInterviewQuestions Search: Login Self GoogleInterviewQuestions FrontPage RecentChanges FindPage GoogleInterviewQuestions

Posted in interview | Tagged | Leave a comment

Median in a stream of integers (running integers) – GeeksforGeeks | GeeksforGeeks

Posted in Uncategorized | Leave a comment

Algorithm: Get all possible letter combinations from a dialed number – CodeProject

From Evernote: Algorithm: Get all possible letter combinations from a dialed number – CodeProject Clipped from: http://www.codeproject.com/Tips/252963/Algorithm-Get-all-possible-letter-combinations-fro package insidecoding.android; import java.util.ArrayList; import java.util.List; public class DialSuggestHelper { private static final String[][] MAPPINGS = { { "0" }, { "1" }, … Continue reading

Posted in Uncategorized | Leave a comment

Find subarray with given sum – GeeksforGeeks | GeeksforGeeks

http://www.geeksforgeeks.org/archives/19267

Posted in Uncategorized | Leave a comment

Effective Programming: Given two BST print the elements in sorted form

http://effprog.blogspot.in/2012/05/given-two-bst-print-elements-in-sorted.html

Posted in Uncategorized | Leave a comment

Print all interleavings of given two strings – GeeksforGeeks | GeeksforGeeks

http://www.geeksforgeeks.org/archives/17743

Posted in Uncategorized | Leave a comment

Ideone.com | Online C Compiler & Debugging Tool

http://ideone.com/Bq7cZ#view_edit_box

Posted in Uncategorized | Leave a comment

Find the minimum sum of distances of a point in x-y plane. – Mathematics

http://math.stackexchange.com/questions/131433/find-the-minimum-sum-of-distances-of-a-point-in-x-y-plane/191066#191066

Posted in Uncategorized | Leave a comment

find the closest common ancestor

  void common(TreeNode<T> * t1, TreeNode<T> * t2)    {        if(t1 == NULL || t2 == NULL)        {            cout << “They have no common predecessor because of dummy nodes!” << endl;        }        else if(t1 == t2)        {            cout << “They are … Continue reading

Posted in algorithm | Tagged | Leave a comment