码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
【Leetcode】Binary Tree Level Order Traversal II
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). For example: Given binary tree {3,9,20,#,#,15,7}, ...
分类:其他好文   时间:2014-06-15 15:17:43    阅读次数:192
Template template parameter(模板参数) example
/********************************************************************************* Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. File name: Author: Driver Monkey Version: Mail:bookwor...
分类:其他好文   时间:2014-06-15 14:52:23    阅读次数:267
LeetCode:Sum Root to Leaf Numbers
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. F...
分类:其他好文   时间:2014-06-15 14:51:02    阅读次数:167
[LeetCode] Combinations [38]
题目 Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3],...
分类:其他好文   时间:2014-06-15 14:10:54    阅读次数:239
【Leetcode】Binary Tree Level Order Traversal
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree {3,9,20,#,#,15,7}, 3 / 9 20 ...
分类:其他好文   时间:2014-06-15 13:26:54    阅读次数:200
QML官方教程——Qt Quick Layouts Overview
附网址:http://qt-project.org/doc/qt-5/qtquicklayouts-overview.html...
分类:其他好文   时间:2014-06-15 11:13:27    阅读次数:358
[LeetCode] Remove Duplicates from Sorted Array II
Follow up for ”Remove Duplicates”: What if duplicates are allowed at most twice?For example, Given sorted array A = [1,1,1,2,2,3],Your function should...
分类:其他好文   时间:2014-06-14 16:08:32    阅读次数:200
Qt操作Sqlite数据库
总算在Qt中把Sqlite操作成功了,写点总结吧。其实早就弄对了的,但查看数据库就是没有想要的结果。最后发现生成的执行文件在Dbug目录,与先前设定的路径不同,这才恍然大悟。一、使用到数据库模块,需在pro文件中加入:QT += sql二、所需数据库操作的相关头文件:#include #includ...
分类:数据库   时间:2014-06-14 15:13:10    阅读次数:278
LeetCode OJ平台上Maximum Subarray题目O(n)复杂度解决方案
原始题目如下,意为寻找数组和最大的子串,返回这个最大和即可。 Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [?2,1,?3,4,?1,2,1,?5,4], the...
分类:其他好文   时间:2014-06-14 15:08:00    阅读次数:224
leetcode -day29 Binary Tree Inorder Traversal & Restore IP Addresses
1、 ?? Binary Tree Inorder Traversal Given a binary tree, return the inorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return ...
分类:其他好文   时间:2014-06-14 14:11:27    阅读次数:315
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!