那可是露露
那可是露露
全部文章
Data_St...
Hadoop_And_Spark(2)
Java(2)
LeetCode_And_SwordOffer(3)
Linux(2)
Python(8)
Scala(2)
TensorFlow(1)
ToolBox(5)
未归档(1)
沉舟侧畔千帆过(1)
面试(1)
归档
标签
去牛客网
登录
/
注册
那可是露露的博客
全部文章
/ Data_Structures_and_Algorithm
(共8篇)
荷兰国旗问题
package Some_Algorithm; /** * Author: songpo.zhang * Date: 2018/8/29 * Target: * 荷兰国旗问题 */ public class NetherlandsFlag { /** * * @param arr * ...
java
2018-08-29
0
661
剑指Offer:从尾到头打印链表
输入一个链表,按链表值从尾到头的顺序返回一个ArrayList。 import java.util.ArrayList; import java.util.Collections; public class Solution { public ArrayList<Integer>...
2018-08-13
0
455
剑指Offer:二维数组中的查找
在一个二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。 public boolean Find(int target, int[][] matrix) { if (matrix ...
java
2018-08-13
0
331
LeetCode - 35: Search Insert Position
35、Search Insert Position Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would b...
2018-04-30
0
487
LeetCode - 27: Remove Element
27、Remove Element Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate extra ...
2018-04-30
0
479
我在少林寺藏经阁刷LeetCode !!(LeetCode目录)
My_LeetCode 刷题顺序:Easy --> Medium --> Hard 按Tags进行分组练习 Easy 1、Two Sum 7、Reverse Integer 9、Palindrome Number 13、Roman to Integer 26、...
2018-04-28
0
494
LeetCode - 26: Remove Duplicates from Sorted Array
26、Remove Duplicates from Sorted Array Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return t...
2018-04-28
0
539
LeetCode - 1: Two Sum
1、Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input w...
2018-04-28
0
560