上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: 第五面:这一面理解题意花了大概20分钟时间,感觉面试官也觉得不太爽了,大概问题就是,给定一个机器人,然后机器人容许一些列操作, void clean() 清空当前单元格,turnLeft(k) turnRight(k) 向左转k次,向右转k次,move()从当前方向移动到下一个单元格,给定一个机器人 阅读全文
posted @ 2018-01-31 11:32 jxr041100 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Given a training set, an algorithm like logistic regression or the perceptron algorithm (basically) tries to find a straight line—that is, a decision 阅读全文
posted @ 2018-01-27 06:47 jxr041100 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 发个Google onsite 面经给需要的人。 round 1: 国人大哥, 出了道 merge N 个sorted element list的题, 要写成Generic的形式。 第二题是leetcode 256. Paint House, 只不过他要输出path就是最少cost的具体方案。第二题 阅读全文
posted @ 2018-01-21 03:10 jxr041100 阅读(6374) 评论(0) 推荐(0) 编辑
摘要: Given a 2D grid, each cell is either a wall 'W', an enemy 'E' or empty '0' (the number zero), return the maximum enemies you can kill using one bomb.T 阅读全文
posted @ 2018-01-19 15:45 jxr041100 阅读(231) 评论(0) 推荐(0) 编辑
摘要: After you choose your starting point, pass that information to the recursive method. In the recursive method, you can do the following… public int[][] 阅读全文
posted @ 2018-01-19 15:11 jxr041100 阅读(169) 评论(0) 推荐(0) 编辑
摘要: input是一个矩形,生成矩形里的随机点。followup 1: input有很多矩形,不会重叠; followup 2: input很多矩形,而且会重叠。之前面经也出现过,典型题。followup2没有要求实现,我大概说了下思路,中心思想就是分割成一个个竖矩形。先把矩形分成左右edge,然后edg 阅读全文
posted @ 2018-01-16 15:41 jxr041100 阅读(484) 评论(0) 推荐(0) 编辑
摘要: NNVM compiler可以将前端框架中的工作负载直接编译到硬件后端,能在高层图中间表示(IR)中表示和优化普通的深度学习工作负载,也能为不同的硬件后端转换计算图、最小化内存占用、优化数据分布、融合计算模式。 编译器的典型工作流如下图所示: 这个编译器基于此前发布的TVM堆栈中的两个组件:NNVM 阅读全文
posted @ 2018-01-15 15:42 jxr041100 阅读(13389) 评论(0) 推荐(0) 编辑
摘要: lower_bound接受一个键值类型的参数。如果容器中某个元素的键值等于该参数,那么函数就返回指向该元素的迭代器。如果不存在这样的元素,则返回一个迭代器,指向第一个键值比参数大的元素。如果所有的元素的键值都比参数小,那么函数就返回容器的尾部,即等于end。upper_bound正好与lower_b 阅读全文
posted @ 2017-12-28 14:57 jxr041100 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Note: 阅读全文
posted @ 2017-12-27 07:58 jxr041100 阅读(111) 评论(0) 推荐(0) 编辑
摘要: There is an m by n grid with a ball. Given the start coordinate (i,j) of the ball, you can move the ball to adjacent cell or cross the grid boundary i 阅读全文
posted @ 2017-12-26 03:54 jxr041100 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页