排序:
默认
按更新时间
按访问量

算法分析与设计第三周练习(图论)

目录 Evaluate Division Reconstruct Itinerary 总结 Evaluate Division 1. 题目 Equations are given in the format A / B = k, where A and B are variables ...

2018-09-21 23:07:40

阅读数:4

评论数:0

算法设计与分析第二周练习

目录 Course Schedule(拓扑) Kth Largest Element in an Array(分治算法) Kth Largest Element in an Array 题目 Find the kth largest element in an unsorted arra...

2018-09-14 18:50:27

阅读数:11

评论数:0

算法设计与分析第一周练习

题目 Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two e...

2018-09-07 00:01:37

阅读数:16

评论数:0

LeetCode--Integer to Roman

Integer to Roman 1. 题目 Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V ...

2018-09-23 23:16:13

阅读数:2

评论数:0

LeetCode--Roman to Integer

Roman to Integer 1. 题目 Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V ...

2018-09-23 21:22:49

阅读数:4

评论数:0

LeetCode--Clone Graph

Clone Graph 1. 题目 Given the head of a graph, return a deep copy (clone) of the graph. Each node in the graph contains a label (int) and a list (Lis...

2018-09-23 20:03:36

阅读数:7

评论数:0

LeetCode--String to Integer (atoi)

String to Integer (atoi) 1 题目 Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as n...

2018-09-22 10:42:26

阅读数:8

评论数:0

LeetCode--Reverse Integer

Reverse Integer 题目 Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Out...

2018-09-16 23:39:02

阅读数:10

评论数:0

LeetCode--ZigZag Conversion

ZigZag Conversion 题目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may wan...

2018-09-16 21:36:49

阅读数:8

评论数:0

LeetCode--Search a 2D Matrix II(分治策略)

Search a 2D Matrix II 题目 Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Inte...

2018-09-15 14:30:52

阅读数:13

评论数:0

LeetCode--Merge k Sorted Lists--分治策略

Merge k Sorted Lists--分治策略 题目 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Example Input: ...

2018-09-14 23:26:37

阅读数:7

评论数:0

LeetCode--Median of Two Sorted Arrays

Median of Two Sorted Arrays 题目 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays....

2018-09-10 16:32:39

阅读数:13

评论数:0

LeetCode--Longest Substring Without Repeating Characters

Longest Substring Without Repeating Characters 题目 Given a string, find the length of the longest substring without repeating characters. Example ...

2018-09-10 10:56:08

阅读数:14

评论数:0

LeetCode--Add Two Numbers

Add Two Numbers 题目 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each...

2018-09-08 14:02:46

阅读数:16

评论数:0

LeetCode--Two Sum

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 inpu...

2018-09-08 10:57:29

阅读数:10

评论数:0

LeetCode--3Sum Closest

3Sum Closest 题目 Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Retu...

2018-09-07 20:18:36

阅读数:16

评论数:0

实训总结

实训总结   为期一个月的软件工程中级实训就要结束了,实训期间真的感觉了这个学期前所未有的压迫感,所有的作业都必须在星期一到星期五完成,除此之外,有时候还需要在平时提前开始搞,所以给人的压迫感是很强的。虽然说我们大一就已经进行过初级实训了,但这次实训最大的不同是我们用的是我们没学过的东西,包括语...

2018-09-07 00:07:47

阅读数:40

评论数:0

java教程

作者:Vamei 出处:http://www.cnblogs.com/vamei 欢迎转载,也请保留这段声明。谢谢!    &nbs...

2018-07-28 09:24:07

阅读数:20

评论数:0

测试结果图片

2018-04-22 11:44:56

阅读数:31

评论数:0

Vi, Java, Ant, Junit自学报告

Vi, Java, Ant, Junit自学报告列表总感想ViJavaAntJunit自学Vi,Java,Ant,Junit总感想  在实训内容发布的时候,我略微看了一下这个周末的任务,发现内容还是很多的,由于实训的平台是Linux,而我自己的电脑也装有Linux的虚拟机,所以我打算在自己的电脑配...

2018-04-15 17:06:07

阅读数:20

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭