码迷,mamicode.com
首页 >  
搜索关键字:leet    ( 148个结果
Leet Code OJ 27. Remove Element [Difficulty: Easy]
题目: Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn’t matter what you leave beyond the new length.翻译:...
分类:其他好文   时间:2016-03-04 14:36:53    阅读次数:122
Leet Code OJ 83. Remove Duplicates from Sorted List [Difficulty: Easy]
题目: Given a sorted linked list, delete all duplicates such that each element appear only once.For example, Given 1->1->2, return 1->2. Given 1->1->2->3->3, return 1->2->3.翻译: 给定一个排序号的链表,删除所有的重复元素,保...
分类:其他好文   时间:2016-03-04 14:36:30    阅读次数:139
Leet Code OJ 168. Excel Sheet Column Title [Difficulty: Easy]
题目: Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example:1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB 翻译: 给定一个正数,返回它类似Excle中对应的列标题。分析: 实际为10...
分类:其他好文   时间:2016-03-03 14:52:04    阅读次数:122
leet_11
题目:https://leetcode.com/problems/container-with-most-water/Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai...
分类:其他好文   时间:2016-01-26 12:22:39    阅读次数:139
leet_14 Longest Common Prefix
package com.mingxin.leetcode.leet_14;/** * Created by Administrator on 2016/1/25. */public class LongestCommonPrefix { public static void main(Stri...
分类:其他好文   时间:2016-01-26 12:19:17    阅读次数:132
leet_15
Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:Elemen...
分类:其他好文   时间:2016-01-26 12:11:12    阅读次数:130
Leet 题目整理归类 - 快速通道 (持续更新)
Leet 题目整理归类 - 快速通道 (持续更新)...
分类:其他好文   时间:2015-12-03 14:16:16    阅读次数:239
UVALive - 5844
题是pdf版Sample Input23mississippinni55i55ippi2foobar|=o08arSample Output10/** 题意:给出一个normal串,一个leet串,看能否符合关系的映射 做法:dfs 将两个串进行匹配注意初始化**/#include #i...
分类:其他好文   时间:2015-08-15 22:55:06    阅读次数:125
[leetcode 139]Word Break
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. For example, given s = "leetcode", dict = ["leet"...
分类:其他好文   时间:2015-08-04 17:13:03    阅读次数:111
Leet Code -- Unique BST
Leet Code -- Unique BST...
分类:其他好文   时间:2015-07-23 13:58:40    阅读次数:64
148条   上一页 1 ... 7 8 9 10 11 ... 15 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!