原创 leetcode_[python/C++逐步深入] 43. Multiply Strings_(大數乘法分析)

題目鏈接 【題目】 Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The

原创 leetcode_[python/C++逐步深入]_217. Contains Duplicate(深度分析位操作算法)

題目鏈接 【題目】 Given an array of integers, find if the array contains any duplicates. Your function should return true

原创 leetcode_[python/C++]_97_Interleaving String_動態規劃

題目鏈接 【題目】 Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, Given: s1

原创 leetcode_[python/C++]_19. Remove Nth Node From End of List(刪除鏈表末第n個節點)

題目鏈接 【題目】 Given a linked list, remove the nth node from the end of list and return its head. For example, Given l

原创 leetcode_232. Power of Two分析

類似的題解詳見: leetcode_326. Power of Three分析 leetcode_342. Power of Four分析 題目鏈接 【題目】 Given an integer, write a func

原创 openGL三維網格座標,旋轉,縮放,燈光設置,紋理讀取,模型讀取(MFC單文檔)

最近學習計算機圖形學寫的基於opengGL的作業 源碼下載鏈接:鏈接:http://pan.baidu.com/s/1slANShZ 密碼:hbwj 1.三維網格座標建立 2.基本3維圖形創建 3.鼠標相應旋轉縮放 4.鍵盤相應

原创 leetcode題解分析_221. Maximal Square(圖文分析)

【題目】 題目鏈接 Given a 2D binary matrix filled with 0’s and 1’s, find the largest square containing only 1’s and return its

原创 MySQL 5.7版本的安裝使用詳細教程+更改數據庫data的存儲路徑

因爲看到mysql5.7加入了新特性documentation 所以重新安裝了一下mysql5.7版本的,順便把步驟貼一貼 (一)下載: 官網鏈接 步驟:【Downloads–>Community–>MySQL on Wind

原创 黑白棋(aphabeta剪枝算法的應用)帶界面

人工智能課上學了一些搜索算法以及最近學了對弈學在棋類中的應用,認識到了alpha-beta剪枝算法,實現一個簡單的黑白棋的程序。源碼 鏈接:http://pan.baidu.com/s/1i5K41z3 密碼:6i5z 黑白棋:

原创 Sublime text 3中C++環境配置及命令行運行窗口創建

本文主要是貼一些有關於sublime text 3 中C與C++編譯環境的問題 我們知道,目前C/C++流行的編譯器是g++,gcc,然而在我們使用sublime text來編寫 C/C++程序的時候只能在sublime自帶的默認的C++

原创 A星算法簡單機器人積木動作序列問題

來自人工智能的實驗題實現(block,簡單積木機器人問題,給出若干積木狀態以及目標狀態,爲機器人給出動作序列) (關於A星算法網上有一個經典的尋路例子的中文翻譯,有興趣可以先原英文翻譯和中文翻譯 現有積木若干,積木可以放在桌子上,也可

原创 prolog學習_八皇后問題

初步學習prolog語言,感覺上手還是挺容易的,雖然不是很深,但基本的語法結構比較簡單,然後看了一些入門資料: prolog語言,耐心看完你就入門了 鏈接:http://pan.baidu.com/s/1mijQUrY 密碼:3yb5

原创 比特幣源碼linux下環境配置編譯運行bitcoin

github源碼鏈接(https://github.com/bitcoin/bitcoin/) 由於近期學習區塊鏈,需要學習下比特幣源碼,所以嘗試着在windows和linux環境下編譯運行,但是windows下的環境配置很繁瑣總是在裝

原创 leetcode_效率題解_[python/C++]_21. Merge Two Sorted Lists(合併2個有序鏈表)

相關題解: leetcode_效率題解_23. Merge k Sorted Lists(合併k個有序鏈表) 題目鏈接 【題目】 Merge two sorted linked lists and return it as a ne

原创 leetcode題解分析_84. Largest Rectangle in Histogram

【題目】 題目鏈接 Given n non-negative integers representing the histogram’s bar height where the width of each bar is 1, find