摘要: 题目: Given an array of integers, the majority number is the number that occurs more than half of the size of the array. Find it. Notice You may assume 阅读全文
posted @ 2017-05-26 20:05 Vincent丶丶 阅读(259) 评论(0) 推荐(0)
摘要: calchist函数需要包含头文件 #include <opencv2/imgproc/imgproc.hpp> 函数声明(三个重载 calchist函数): 官方文档: The functions calcHist calculate the histogram of one or more ar 阅读全文
posted @ 2017-05-26 19:17 Vincent丶丶 阅读(3570) 评论(0) 推荐(0)
摘要: 题目: Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). 阅读全文
posted @ 2017-05-26 09:18 Vincent丶丶 阅读(166) 评论(0) 推荐(0)