原创 【LeetCode28】【 Implement strStr()】length,length(),size()

1.題目原文: Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not

原创 【面試總結】【遠光軟件】【java開發工程師】

前段時間參加了珠海遠光的java開發工程師面試,本人第一次面試,沒有經驗加準備不充分,慘敗。在這裏做一下總結: 缺乏自信 這可能是最重要的原因之一。因爲準備不充分以及面試經驗缺乏,導致自己無比緊張而且表現得異常的爛,回答問題經常找

原创 【LeetCode7】【Reverse Integer】java中整形正負表示的一些思考

做LeetCode遇到了這樣一道題: Reverse Integer Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123

原创 android基礎圖像處理

萬事開頭難,想寫博客應該是這學期第一個月左右的想法,但因爲懶得打字,拖延到這個時候。上週學習android圖像處理,在這裏再做一下總結。 學習之前 瞭解android界面中的X軸與Y軸: 常用繪圖類 畫筆-Paint 用來描述

原创 【劍指offer】【二維數組中的查找】【有序二維數組整數查找】【判斷二維數組是否爲空方法】

題目描述 在一個二維數組中,每一行都按照從左到右遞增的順序排序,每一列都按照從上到下遞增的順序排序。請完成一個函數,輸入這樣的一個二維數組和一個整數,判斷數組中是否含有該整數。 代碼1: public boolean Find(

原创 【LeetCode35】【Search Insert Position】二分法查找

1. 題目原文 Given a sorted array and a target value, return the index if the target is found. If not, return the index

原创 java中+=的含義

sum = sum + i; //這個意思sum += i; //這是簡寫

原创 【LeetCode38】【Count and Say】StringBuilder

1. 題目原文 The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, … 1

原创 【LeetCode14】【Longest Common Prefix】

題目如下: Write a function to find the longest common prefix string amongst an array of strings. 意思就是說寫一個方法返回一個字符串數組中每

原创 【LeetCode26】【Remove Duplicates from Sorted Array】

題目: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new

原创 【LeetCode13】【Roman to Integer】

題目: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 解題方

原创 【LeetCode27】【Remove Element】

1.題目原文: Given an array and a value, remove all instances of that value in place and return the new length. Do not

原创 【LeetCode20】【Valid Parentheses】

題目: Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is

原创 【LeetCode21】【Merge Two Sorted Lists】遞歸實現

題目原文: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together t

原创 【筆試總結】【金山wps】【android開發工程師】

今天金山wps來學校開宣講會,抱着試一試的態度去參加了宣講筆試,報的服務器端工程師職位,但是筆試職位並沒有這個職位,因爲這學期開了android開發的課,所以選了android開發工程師的筆試題。不出所料,差不多都不會做,因爲沒有