Leetcode
Charles095
计算机小白
展开
-
Leetcode Easy problem #1
Leetcode Easy problem(Python June 19. 2019)This is written to record the experience I solve the leetcode easy problems. I will take down some algorithm which I prefer and record some point where I m...原创 2019-06-19 15:29:42 · 192 阅读 · 0 评论 -
Java —— Leetcode Easy problem #2 (easy in 21-50 )
21. Merge Two Sorted ListsMerge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.Example:Input: 1->2->4, ...原创 2019-07-18 15:00:32 · 249 阅读 · 0 评论 -
Java —— Leetcode Easy problem #3 (easy in 50-100 )
53. Maximum SubarrayGiven an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.Example:Input: [-2,1,-3,4,-1,2,1,-5,4],O...原创 2019-07-23 17:22:26 · 266 阅读 · 0 评论 -
Java —— Leetcode Easy problem #1 (1-20 )
After learning the basics of Java, I started solving some easy questions on LeetCode in Java. Now I plan to practice a few questions every day and this will be my notes of solving problems.1. Two Sum...原创 2019-07-17 11:02:23 · 245 阅读 · 0 评论