1: /// 2: /// Assume you have a method isSubstring which checks if one word is a substring of another. 3: /// Given two strings, s1 and s2, 4: /// write cod... Read More
posted @ 2014-01-10 12:49
Dance With Automation
Views(187)Comments(0)Diggs(0)
Edit
1: /// 2: /// Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0. 3: /// 4: class Program 5: { ... Read More
posted @ 2014-01-07 19:21
Dance With Automation
Views(242)Comments(0)Diggs(0)
Edit
1: /// 2: /// Q:Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, 3: /// write a method to rotate the image by 90 degrees. Can yo... Read More
posted @ 2014-01-07 18:51
Dance With Automation
Views(277)Comments(0)Diggs(0)
Edit
1: class Program 2: { 3: static void Main(string[] args) 4: { 5: Program p = new Program(); 6: string r = p.ReverseString("5毛1234\0"); 7: ... Read More
posted @ 2013-12-25 20:27
Dance With Automation
Views(289)Comments(0)Diggs(0)
Edit