摘要:
貌似好多计数问题都是Catalan数。还记得某公司猥琐的笔试题中,1, 2, 3,4 … n,n个数进栈,有多少种出栈顺序,写出递推公式(写出通项公式不得分)。尼玛Catalan数的通项要是没记住,真心累死也推不出。能现推出通项的孩子应该跟Catalan数发现者Eugène Charles Catalan一样牛逼。 h(n) = h(0) * h(n-1) + h(1) * h(n-... 阅读全文
posted @ 2012-10-10 16:35
紫红的泪
阅读(391)
评论(0)
推荐(0)
摘要:
The XMLSerializer correctly writes strings to the database with \r\n intact but when deserializing, it returns strings with only \n. Solution: http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/... 阅读全文
posted @ 2012-10-10 15:33
紫红的泪
阅读(1078)
评论(0)
推荐(0)
摘要:
Windows Phone 7 – Call Phone Number from HyperlinkButton: http://blog.ecofic.com/?p=406 Listen click panel event: http://stackoverflow.com/questions/4801485/wp7-image-click-event 阅读全文
posted @ 2012-10-10 13:33
紫红的泪
阅读(191)
评论(0)
推荐(0)

浙公网安备 33010602011771号