摘要:
http://www.microsoft.com/china/MSDN/library/enterprisedevelopment/softwaredev/WDdnclinicscripting.mspx?mfr=true 阅读全文
摘要:
1. Algorithms * What’s the difference between a linked list and anarray? * Implement an algorithm to sort a linked list. Whydid you pick the method you did? * Implement an algorithm to sort an arra... 阅读全文
摘要:
据说是微软的面试题,你能做几道?.逻辑推理 1、你让工人为你工作7天,给工人的回报是一根金条。金条平分成相连的7段,你必须在每天结束时给他们一段金条,如果只许你两次把金条弄断,你如何给你的工人付费? 2、请把一盒蛋糕切成8份,分给8个人,但蛋糕盒里还必须留有一份。 3、小明一家过一座桥,过桥时是黑夜,所以必须有灯。现在小明过桥要1秒,小明的弟弟要3秒,小明的爸爸要6秒,小明的妈妈要8秒... 阅读全文
摘要:
一、代码如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Glob... 阅读全文
摘要:
using System;namespace Test{ class Program { /// <summary> /// 判断素数 /// </summary> /// <param name="n"></param> /// <returns></returns> static bool IsPrime(int n) {... 阅读全文