原创 371. Sum of Two Integers

371. Sum of Two Integers Leetcode link for this question Discription: Calculate the sum of two integers a and b, bu

原创 Visual Studio Code 使用記錄

微軟出的一款跨平臺全功能editor : Visual Studio Code 官方口號: Free. Open source. Runs everywhere. 優點: 顏值高,UI配色簡單,耐看,黑色背景雖然不炫但很酷

原创 349. Intersection of Two Arrays

349. Intersection of Two Arrays Leetcode link for this question Discription: Given two arrays, write a function to

原创 226. Invert Binary Tree

226. Invert Binary Tree Leetcode link for this question Discription: Invert a binary tree. 4 / \ 2

原创 9. Palindrome Number

9. Palindrome Number Leetcode link for this question Discription: Determine whether an integer is a palindrome. Do

原创 292. Nim Game

292. Nim Game Leetcode link for this question Discription: You are playing the following Nim Game with your friend:

原创 19. Remove Nth Node From End of List

19. Remove Nth Node From End of List Leetcode link for this question Discription: Given a linked list, remove the n

原创 290. Word Pattern

290. Word Pattern Leetcode link for this question Discription: Given a pattern and a string str, find if str follow

原创 283. Move Zeroes

283. Move Zeroes Leetcode link for this question Discription: Given an array nums, write a function to move all 0’s

原创 36. Valid Sudoku

36. Valid Sudoku Leetcode link for this question Discription: Determine if a Sudoku is valid, according to: Sudoku Puzz

原创 160. Intersection of Two Linked Lists

160. Intersection of Two Linked Lists Leetcode link for this question Discription: Write a program to find the node at

原创 24. Swap Nodes in Pairs

24. Swap Nodes in Pairs Leetcode link for this question Discription: Given a linked list, swap every two adjacent nodes

原创 28. Implement strStr()

28. Implement strStr() Leetcode link for this question Discription: Implement strStr(). Returns the index of the first

原创 27. Remove Element

27. Remove Element Leetcode link for this question Discription: Given an array and a value, remove all instances of tha

原创 20. Valid Parentheses

20. Valid Parentheses Leetcode link for this question Discription: Given a string containing just the characters '(', '