摘要:
题目: Given an array of integers, how many three numbers can be found in the array, so that we can build an triangle whose three edges length is the thr 阅读全文
摘要:
题目: For a given source string and a target string, you should output the first index(from 0) of target string in source string. If target does not exi 阅读全文
摘要:
题目: 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 阅读全文
摘要:
calchist函数需要包含头文件 #include <opencv2/imgproc/imgproc.hpp> 函数声明(三个重载 calchist函数): 官方文档: The functions calcHist calculate the histogram of one or more ar 阅读全文
摘要:
题目: 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). 阅读全文