上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 46 下一页
  2017年10月20日
摘要: Given a non empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both 阅读全文
posted @ 2017-10-20 14:00 Beserious 阅读(91) 评论(0) 推荐(0) 编辑
  2017年10月16日
摘要: Give a string s, count the number of non empty (contiguous) substrings that have the same number of 0's and 1's, and all the 0's and all the 1's in th 阅读全文
posted @ 2017-10-16 17:08 Beserious 阅读(248) 评论(0) 推荐(0) 编辑
  2017年10月11日
摘要: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted f 阅读全文
posted @ 2017-10-11 13:33 Beserious 阅读(84) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. 阅读全文
posted @ 2017-10-11 10:41 Beserious 阅读(100) 评论(0) 推荐(0) 编辑
  2017年10月10日
摘要: Given two non negative integers num1 and num2 represented as strings, return the product of num1 and num2. Note: The length of both num1 and num2 is v 阅读全文
posted @ 2017-10-10 22:56 Beserious 阅读(94) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, return all root to leaf paths. 题目大意: 输出二叉树的所有路径 思路: 先序遍历,记录路径。为了回溯,临时存储路径的数据结构得具有弹出最后一个元素的功能,我的代码里面用的是vector 阅读全文
posted @ 2017-10-10 22:54 Beserious 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Given a non empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4 directionally (horizontal or vertical.) Yo 阅读全文
posted @ 2017-10-10 22:54 Beserious 阅读(311) 评论(0) 推荐(0) 编辑
  2017年10月8日
摘要: Given a non empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4 directionally (horizontal or vertical.) Yo 阅读全文
posted @ 2017-10-08 11:21 Beserious 阅读(849) 评论(0) 推荐(0) 编辑
  2017年10月7日
摘要: 1.查看参数列表 rosparam list 2.查询参数rosparam get parameter_name,如rosparam get /rosdistro 3.设置参数rosparam set parameter_name parameter_value 4.运行turtlesim_node 阅读全文
posted @ 2017-10-07 16:28 Beserious 阅读(4774) 评论(0) 推荐(0) 编辑
  2017年10月5日
摘要: 1.rosrun package name executable name 比如 rosrun turtlesim turtlesim_node 2.一旦启动roscore后,便可以运行ROS程序了。ROS程序的运行实例被称为节点(node),roscore叫做节点管理器 3.查看节点列表rosno 阅读全文
posted @ 2017-10-05 17:02 Beserious 阅读(17061) 评论(0) 推荐(1) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 46 下一页