TSU[LeetCode] (Easy) 171. Excel Sheet Column NumberGiven a string columnTitle that represents the column title as appears in an Excel sheet, return its corresponding column number. For…Jun 22, 2022Jun 22, 2022
TSU★[LeetCode] (Easy) 169. Majority ElementGiven an array nums of size n, return the majority element. The majority element is the element that appears more than ⌊n / 2⌋ times. You…Jun 21, 2022Jun 21, 2022
TSU[LeetCode] (Easy)168. Excel Sheet Column TitleGiven an integer columnNumber, return its corresponding column title as it appears in an Excel sheet. For example:Jun 21, 2022Jun 21, 2022
TSUPython題目連結: https://kknews.cc/zh-tw/news/blz5zo6.html *註:題目1/5/12不懂* *註:題目7有嘗試解了leetcode的3sum題,確定有正確答案但仍time out* *註:題目10有嘗試解,但還未寫出完整程式*Jun 6, 2022Jun 6, 2022
TSU★[LeetCode] (Easy) 141. Linked List CycleGiven head, the head of a linked list, determine if the linked list has a cycle in it. There is a cycle in a linked list if there is some…May 19, 2022May 19, 2022
TSU[LeetCode] (Easy) 136. Single NumberGiven a non-empty array of integers nums, every element appears twice except for one. Find that single one. You must implement a solution…May 15, 2022May 15, 2022
TSU[LeetCode] (Easy) 125. Valid PalindromeA phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it…May 15, 2022May 15, 2022
TSU★[LeetCode] (Easy) 69. Sqrt(x)Given a non-negative integer x, compute and return the square root of x. Since the return type is an integer, the decimal digits are…May 15, 2022May 15, 2022
TSU[LeetCode] (Easy) 121. Best Time to Buy and Sell StockYou are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing a…May 15, 2022May 15, 2022