2009年6月3日

BackTracking_Fixed sum for array elements

摘要: Given an array a contains distinct positive integers, count how many combinations of integers in a add up to exactly sumFor example, given int[] a = {... 阅读全文

posted @ 2009-06-03 16:36 前端风云志 阅读(455) 评论(0) 推荐(0)

BSP 面试总结

摘要: 指针参数 当指针作为函数参数时,对参数本身的修改并不影响原来的值,比如下面的代码,删除链表中第一个值为item的结点。但是结果却不正确。 void Delete(Node *head, int item){ if(head->value == item) head = NULL ;} 这段代码的问题 阅读全文

posted @ 2009-06-03 14:00 前端风云志 阅读(2496) 评论(5) 推荐(0)

导航

关注我

前端风云志