學習筆記Leetcode in C 1-bit and 2-bit Characters 2021.1.10We have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits…2 min read·Jan 10, 2021----
學習筆記Leetcode in C-Two SumGiven an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.1 min read·Jan 4, 2021----
學習筆記Leetcode in C-Move Zeroes 2021.1.1Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.1 min read·Jan 1, 2021----
學習筆記Leetcode in C-Max Consecutive OnesGiven a binary array, find the maximum number of consecutive 1s in this array.1 min read·Dec 30, 2020----
學習筆記Leetcode in C DAY3-Maximum SubarrayGiven an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.1 min read·Dec 28, 2020----