原创 輸入一個鏈表,按鏈表值從尾到頭的順序返回一個ArrayList。

/***  struct ListNode {*        int val;*        struct ListNode *next;*        ListNode(int x) :*              val(x),

原创 C++ sort + vector 應用:求取數組中第K大的數( LeetCode 215. Kth Largest Element in an Array )

Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the

原创 Android 源碼下載、編譯和刷機過程

編譯環境: Win10 + VMware + ubuntu16.04手機: Nexus 5系統: Android 6.0 原生態源碼參考網頁:點擊打開鏈接解決的問題當 fastboot -w flashall  命令一直出現Waiting

原创 leetcode 樹

1.構建樹 用前序和中序建樹105 用後序和中序建樹106 數組構建BST 108 鏈表構建BST 109 2.樹的遍歷 前序 144 中序 94 後序 145 層次 102 103 107 3.樹的屬性 求深度 104 是否平衡是平衡樹

原创 Android學習 ProgressBar(進度條)

1、系統默認進度條使用實例: <ProgressBar style="@android:style/Widget.ProgressBar.Small" android:layout_width="wrap_content

原创 各個排序算法應用:求取數組中第K大的數( LeetCode 215. Kth Largest Element in an Array )

Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the

原创 DL入門

可參考學習的網址 博客參考:http://blog.csdn.net/zouxy09/article/details/8775518 From知呼:http://www.zhihu.com/question/26006703 python