湖边的白杨树

探索是一种乐趣

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  218 随笔 :: 1 文章 :: 14 评论 :: 59万 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

11 2015 档案

摘要:A binary tree is defined as a tree where each node can have no more than two children.Building a Binary Search Tree:首先创建一个节点Class public class BtNo... 阅读全文
posted @ 2015-11-20 16:20 fdyang 阅读(720) 评论(0) 推荐(0) 编辑

摘要:A abstract class An abstract class is a class that must be inherited and have the methods overridden. It can not be instantiated. And at least one of 阅读全文
posted @ 2015-11-15 21:11 fdyang 阅读(412) 评论(0) 推荐(0) 编辑

摘要:1. Convert string from "AAABBCC" to "A3B2C2". 当面试者提出这个问题的时候,首先需要确认题意:譬如:字符串是不是顺序的,是否有字符重复出现。 例如: ABBAACB , AAABBCCCBBAA。 如果是顺序的话可以一次遍历字符,如果是杂序的话,需要2次遍 阅读全文
posted @ 2015-11-15 21:10 fdyang 阅读(791) 评论(0) 推荐(0) 编辑

摘要:这个是非常基本的一道面试题,但是要考虑周全。首先反转一个字符串:基本思路是变成Char数组,然后调用C#里面的方法,或者设定两个index,从头,尾向中间遍历,并交换。方法一: Array.Reverse(char *). 注意在开始的时候要判断字符串为null或空。 public s... 阅读全文
posted @ 2015-11-14 12:19 fdyang 阅读(6862) 评论(0) 推荐(0) 编辑

摘要:(Note: Most are collected from Internet. 绝大部分内容来自互联网)1. What's the difference between Hashtable and Dictionary?Hashtable and Dictionary are collection... 阅读全文
posted @ 2015-11-13 16:22 fdyang 阅读(341) 评论(0) 推荐(0) 编辑

摘要:基本上在面试的时候,会具体到两个int数组,或string数组。具体也就是讨论算法。首先需要的是和面试的人确认题目的含义,并非直接答题。然后,可以提出自己的想法,首先最快的是用linq { List array0 = new List() { 1, 2, 9, 3... 阅读全文
posted @ 2015-11-12 22:33 fdyang 阅读(7997) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示