原创 [算法相關] 260. Single Number III -取出非重複數字(加強版)

  260. Single Number III     Given an array of numbers nums, in which exactly two elements appear only once and all th

原创 [算法相關] 136. Single Number--取出非重複數字

  136. Single Number         Given an array of integers, every element appears twice except for one. Find that single o

原创 [算法相關] Valid Sudoku-數獨判斷

Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, w

原创 [算法相關] 338. Counting Bits--位運算

338. Counting Bits   Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate th

原创 238. Product of Array Except Self- 非自身數組的乘積

238. Product of Array Except Self Given an array of n integers where n > 1, nums, return an array output such that o

原创 [算法相關] Minimum Depth of Binary Tree

111. Minimum Depth of Binary Tree Given a binary tree, find its minimum depth. The minimum depth is the number of nodes

原创 [算法相關]-最長迴文字符串

最長迴文字符串 題目描述 Catcher 是MCA國的情報員,他工作時發現敵國會用一些對稱的密碼進行通信,比如像這些ABBA,ABA,A,123321,但是他們有時會在開始或結束時加入一些無關的字符以防止別國破解。比如進行下列變化

原创 【小工具】-按照xmind層結構轉成文件夾形式

按照xmind層結構轉成文件夾形式 如下圖所示,將如下的xmind層級結構轉換爲具體的文件夾結構: 然後將上面的層級結構轉成如下形式: 詳細代碼如下: #coding:utf-8 from xmindparser import

原创 338. Counting Bits--位運算

338. Counting Bits Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate th

原创 【爬坑記錄】error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64

爬坑記錄2:error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64 CMake Error at ***/Download

原创 347. Top K Frequent Elements-獲得前K高次元素

347. Top K Frequent ElementsGiven a non-empty array of integers, return the k most frequent elements.For example,Given 

原创 299. Bulls and Cows-兩組數據的重複度

299. Bulls and Cows You are playing the following Bulls and Cows game with your friend: You write down a number and

原创 【人臉相關】通用人臉跟蹤器

【人臉相關】通用人臉跟蹤器 如下開源了一個通用的人臉跟蹤器,當前只是完成完成了檢測和關鍵點模塊,後續會持續更新: 鏈接: faceTracker. 平臺及配置信息: windows : 基於Windows平臺的原因主要是爲了熟悉

原创 【爬坑記錄】undefined undefined reference to *** openssl 無法鏈接

爬坑記錄1:-undefined undefined reference to *** openssl 無法鏈接 /usr/lib/x86_64-linux-gnu/libcurl.so: undefined reference

原创 把時間當作朋友

轉載地址:鏈接地址 主要內容 1. 前言 2. 希望時間也是我的朋友 3. 第0章 所有人的困境 4. 瞭解心智的力量 5. 心智力量的差異 6. 何謂心智 7. 起點 8. 控制自己的大腦 9. 控制自己的情