原创 LeetCode (Easy Part) Two Sum

No1. TwoSum題目:Given an array of integers, return indices of the two numbers such that they add up to a specific target.

原创 NI機試題

題目:        比如有個字符串“a(bc(de))fg",依次將括號裏面的字符串進行翻轉。首先,將最內層的(de)進行翻轉之後得到新的字符串“a(bced)fg”,然後再將最外層括號中的字符串進行翻轉後得到最終結果“adecbfg”

原创 No70. Climbing Stairs(Python)

題目:You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In

原创 LeetCode (Easy Part) Valid Parentheses

問題:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is vali

原创 簡單工廠模式學習總結(C#)

    本人是一枚女程序“媛”,本科計算機出身,研究生轉的軟件,代碼量屈指可數。哈哈。。。最近在看一本設計模式的書,裏面的內容感覺講的挺不錯的,也就在這裏隨手寫一些筆記,大家可以共勉,有什麼不對的或者需要改進的地方歡迎各位批評指正。。。 

原创 N0278. First Bad Version(Python)

題目:You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version o

原创 No35.Search Insert Position(查找插入位置)(Python)

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

原创 No67. Add Binary(Python)

題目:Given two binary strings, return their sum (also a binary string).The input strings are both non-empty and contains

原创 LeetCode (Easy Part) Reverse Integer

題目:Given a 32-bit signed integer, reverse digits of an integer.給定一個32位有符號整數,整數的反轉數字。Example 1:Input: 123 Output: 321Ex

原创 Merge Two Sorted Lists (Java)

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

原创 No47. Permutations II(Python)

題目:Given a collection of numbers that might contain duplicates, return all possible unique permutations

原创 增強現實系統的三大關鍵技術

三大關鍵問題        如何解決真實場景和虛擬物體在幾何、光照和時間方面的一致性問題。幾何一致性是解決虛擬對象和真實場景在空間中的一致性,這是最基本的要求。光照一致性是虛實融合場景真實感繪製的要求;時間一致性是實現實時交互的要求。  

原创 NO14. Longest Common Prefix (Easy) (Java)

題目:Write a function to find the longest common prefix string amongst an array of strings.編寫一個函數來查找字符串數組

原创 LeetCode (Easy Part) Palindrome Number

題目:Determine whether an integer is a palindrome. Do this without extra space.確定整數是否是迴文。 這樣做沒有額外的空間。思路:        此題是來判斷一個數

原创 N0374. Guess Number Higher or Lower(Python)

題目:We are playing the Guess Game. The game is as follows:I pick a number from 1 to n. You have to guess which number I