題目:Design and implement a TwoSum class. It should support the following operations: add...
題目:Given an array nums, write a function to move all 0's to the end of it while maintai...
題目:Given a linked list, determine if it has a cycle in it. 思路:快慢指針 代碼:
題目:Write a program to find the node at which the intersection of two singly linked list...
題目:Given an array of integers, remove the duplicate numbers in it. You should: Do it in...
題目:Given an array of n integer, and a moving window(size k), move the window at each it...
https://www.jiuzhang.com/qa/6175/ 之前面SDE的時(shí)候由于根本沒刷題所以電面沒過。所以在九章學(xué)習(xí)后準(zhǔn)備繼續(xù)試試可是還沒有滿一年而我現(xiàn)在又急需工...
題目:Given a string, determine if it is a palindrome, considering only alphanumeric chara...
題目:Given a string which consists of lowercase or uppercase letters, find the length of ...