原创 「一」vim簡介

什麼是vim? 一個歷史悠久的文本編輯器 vim採用了模式編輯的理念,提供了多種模式 底線命令模式 插入模式 命令模式 交互式教程 $: vimtutor :自帶教程 $: vim -h : vim命令行

原创 apache和nginx關聯php的過程

Nginx端 Nginx是一個服務器,同時也是一個功能強大的proxy服務器,除了進行http請求的代理,還可以進行其他協議請求代理(fastCgi協議),為了能使nginx理解fastCgi協議,nginx提供了fastcgi模塊來降ht

原创 劍指 Offer 58 - II. 左旋轉字符串

地址:https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof/ <?php /** 字符串的左旋轉操作是把字符串前面的若干個字符轉移到字符串的尾部。請定義一個函數

原创 1619. 刪除某些元素後的數組均值

地址:https://leetcode-cn.com/problems/mean-of-array-after-removing-some-elements/ <?php /** * Created by PhpStorm. * Us

原创 1518. 換酒問題

地址:https://leetcode-cn.com/problems/water-bottles/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2020/10/2

原创 1588. 所有奇數長度子數組的和

地址:https://leetcode-cn.com/problems/sum-of-all-odd-length-subarrays/ <?php /** * Created by PhpStorm. * User: huahua

原创 1614. 括號的最大嵌套深度

地址:https://leetcode-cn.com/problems/maximum-nesting-depth-of-the-parentheses/ <?php /** * Created by PhpStorm. * User

原创 1476. 子矩形查詢

地址:https://leetcode-cn.com/problems/subrectangle-queries/ <?php /** * Created by PhpStorm. * User: huahua * Date: 20

原创 1534. 統計好三元組

地址:https://leetcode-cn.com/problems/count-good-triplets/ <?php /** * Created by PhpStorm. * User: huahua * Date: 202

原创 1603. 設計停車系統

地址:https://leetcode-cn.com/problems/design-parking-system/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2

原创 面試題 17.01. 不用加號的加法

地址:https://leetcode-cn.com/problems/add-without-plus-lcci/ <?php /** * Created by PhpStorm. * User: huahua * Date: 2

原创 LCP 11. 期望個數統計

地址:https://leetcode-cn.com/problems/qi-wang-ge-shu-tong-ji/ <?php /** 某互聯網公司一年一度的春招開始了,一共有 n 名面試者入選。每名面試者都會提交一份簡歷,公司會根據

原创 1491. 去掉最低工資和最高工資後的工資平均值

地址:https://leetcode-cn.com/problems/average-salary-excluding-the-minimum-and-maximum-salary/ <?php /** 給你一個整數數組 salary 

原创 劍指 Offer 22. 鏈表中倒數第k個節點

地址:https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof/ <?php /** 劍指 Offer 22. 鏈表中倒數第k個節點 輸入一

原创 LCP 17. 速算機器人

地址:https://leetcode-cn.com/problems/nGK0Fy/ <?php /** LCP 17. 速算機器人 小扣在秋日市集發現了一款速算機器人。店家對機器人說出兩個數字(記作 x 和 y),請小扣說出計算指令