Vulkan

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 27 下一页

2014年4月17日

Cracking The Coding Interview4.8

摘要: //You are given a binary tree in which each node contains a value. Design an algorithm to print all paths which sum up to that value. Note that it can... 阅读全文

posted @ 2014-04-17 22:27 Vulkan 阅读(134) 评论(0) 推荐(0) 编辑

Cracking The Coding Interview 4.7_暂存

摘要: //原文://// You have two very large binary trees: T1, with millions of nodes, and T2, with hundreds of nodes. Create an algorithm to decide if T2 is a s... 阅读全文

posted @ 2014-04-17 15:06 Vulkan 阅读(133) 评论(0) 推荐(0) 编辑

Cracking The Coding Interview 4.6

摘要: //原文://// Design an algorithm and write code to find the first common ancestor of two nodes in a binary tree. Avoid storing additional nodes in a data... 阅读全文

posted @ 2014-04-17 14:15 Vulkan 阅读(128) 评论(0) 推荐(0) 编辑

2014年4月16日

Cracking The Coding Interview4.5

摘要: //原文://// Write an algorithm to find the ‘next’ node (i.e., in-order successor) of a given node in a binary search tree where each node has a link to ... 阅读全文

posted @ 2014-04-16 14:54 Vulkan 阅读(104) 评论(0) 推荐(0) 编辑

Cracking The Coding Interview 4.4

摘要: //Given a binary search tree, design an algorithm which creates a linked list of all the nodes at each depth (i.e., if you have a tree with depth D, y... 阅读全文

posted @ 2014-04-16 11:56 Vulkan 阅读(124) 评论(0) 推荐(0) 编辑

2014年4月15日

Cracking The Coding Interview4.3

摘要: //Given a sorted (increasing order) array, write an algorithm to create a binary tree with minimal height.//// 译文://// 给定一个有序数组(递增),写程序构建一棵具有最小高度的二叉树。... 阅读全文

posted @ 2014-04-15 20:38 Vulkan 阅读(183) 评论(0) 推荐(0) 编辑

Cracking The Coding Interview 4.2_暂存

摘要: X 阅读全文

posted @ 2014-04-15 15:58 Vulkan 阅读(82) 评论(0) 推荐(0) 编辑

Cracking The Coding Interview 4.1

摘要: //Implement a function to check if a tree is balanced. For the purposes of this question, a balanced tree is defined to be a tree such that no two lea... 阅读全文

posted @ 2014-04-15 15:54 Vulkan 阅读(141) 评论(0) 推荐(0) 编辑

Cracking The Coding Interview 4.0_二叉树

摘要: #include #include using namespace std;class tree{public: tree() { //root = create(); root = NULL; } /***输入扩展层次遍历序列,#表示该节点为空***/ tree(char *s) { roo... 阅读全文

posted @ 2014-04-15 14:45 Vulkan 阅读(149) 评论(0) 推荐(0) 编辑

2014年4月11日

[转]如何远程连接运行OpenGL/Cuda 等GPU程序

摘要: 发现一篇神文,解决了困扰许久的远程桌面OpenGL/GPU 等问题。。。原地址在这:http://www.tanglei.name/how-to-run-gpu-programs-using-remote-connection/有时候往往需要通过远程桌面连接进行coding工作,像一般的比如web之... 阅读全文

posted @ 2014-04-11 12:13 Vulkan 阅读(1663) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 27 下一页

导航