原创 LeetCode:two-sum

題目描述   Given an array of integers, find two numbers such that they add up to a specific target number. The function two

原创 2019度小滿秋招研發編程題_數字的情緒

每個整數都希望可以整除很多數字,特別是它自身包含的數字,我們將整數分爲三類: 1. 數字可以整除它包含的一部分數字,比如72,由,7和2兩種數字組成,72可以整除2,我們稱這個數字是開心的,用”H”表示。 2. 數字不能整除它包含的任何數

原创 LeetCode:reverse-linked-list-ii

題目描述 將一個鏈表m位置到n位置之間的區間反轉,要求使用原地算法,並且在一次掃描之內完成反轉。 例如: 給出的鏈表爲1->2->3->4->5->NULL, m = 2 ,n = 4, 返回1->4->3->2->5->NULL. 注意

原创 Anaconda3的安裝步驟

Anaconda是一款集成的python計算環境,我們可以從官網上免費獲得其安裝包:https://www.anaconda.com/distribution/ Anaconda詳細安裝及使用教程(帶圖文):https://blog.cs

原创 LeetCode: Search Insert Position

Given a sorted array and a target value, return the index if the target is found. If not, return the index where it wou

原创 LeetCode: Reverse digits of an integer.

題目描述 Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 click to show spoilers.

原创 leetcode : Single Number 數組中找出只出現一次的數字

題目描述   Given an array of integers, every element appears twice except for one. Find that single one. Note:  Your algori

原创 Leetcode:Search a 2D Matrix 搜索二維矩陣

題目描述   Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following propert

原创 Git的相關下載和在Eclipse中的配置

1.Git的下載和安裝教程:https://www.jianshu.com/p/360ba77ecbe6 2.Git的官網:https://git-scm.com/download/win 3.Git在Eclipse中的配置:https:

原创 LeetCode:palindrome-partitioning

題目描述   Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible pa

原创 2017網易遊戲雷火盤古實習生編程題---字符串編碼

給定一個字符串,請你將字符串重新編碼,將連續的字符替換成“連續出現的個數+字符”。比如字符串AAAABCCDAA會被編碼成4A1B2C1D2A。 輸入描述: 每個測試輸入包含1個測試用例 每個測試用例輸入只有一行字符串,字符串只包括大寫

原创 2019網易遊戲(互娛)遊戲研發編程題--字符迷陣

字符迷陣是一種經典的智力遊戲。玩家需要在給定的矩形的字符迷陣中尋找特定的單詞。 在這題的規則中,單詞是如下規定的: 1. 在字符迷陣中選取一個字符作爲單詞的開頭; 2. 選取右方、下方、或右下45度方向作爲單詞的延伸方向; 3. 以開頭的

原创 2019網易遊戲(互娛)遊戲研發編程題--會話列表

小云正在參與開發一個即時聊天工具,他負責其中的會話列表部分。 會話列表爲顯示爲一個從上到下的多行控件,其中每一行表示一個會話,每一個會話都可以以一個唯一正整數id表示。 當用戶在一個會話中發送或接收信息時,如果該會話已經在會話列表中,則會

原创 2019網易遊戲(互娛)遊戲研發編程題--時鐘

時間限制:1秒 空間限制:65536K 注意:本題允許使用C/C++/Java/python進行解答,其他編程語言提交均視作無效處理。   小W有一個電子時鐘用於顯示時間,顯示的格式爲HH:MM:SS,HH,MM,SS分別表示時,分,秒。

原创 Java開發工具下載鏈接(持續更新)

1.jdk下載以前版本需要的賬號:https://blog.csdn.net/WNsshssm/article/details/84315519 2.jdk的安裝教程:https://www.cnblogs.com/lsdb/p/6497