题意: n 个 串,把他们按照某个次序连起来 , 使连接后的字符串字典序最小。 做这题的时候我简直是蠢死了..... ...
分类:
其他好文 时间:
2016-07-25 16:11:30
阅读次数:
157
题目链接: https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1136 分析见《算法竞赛入门经典-训练指南》P190 ...
分类:
其他好文 时间:
2016-07-24 12:02:28
阅读次数:
127
You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. 给你两个数组nums1和nums2,这两个数组都是递增排列的,还给你一个整数k。 Define a pair (u ...
分类:
其他好文 时间:
2016-07-24 09:19:17
阅读次数:
233
373. Find K Pairs with Smallest Sums You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u,v) ...
分类:
其他好文 时间:
2016-07-23 13:37:16
阅读次数:
168
This lesson teaches you to
Use "wrap_content" and "match_parent" 使用“wrap_content”和“match_parent”
Use RelativeLayout 使用RelativeLayout
Use Size Qualifiers 使用屏幕尺寸限制
Use the Smallest-wid...
Find the kth smallest number in at row and column sorted matrix. Find the kth smallest number in at row and column sorted matrix. Find the kth smalles ...
分类:
其他好文 时间:
2016-07-14 07:10:27
阅读次数:
165
373. Find K Pairs with Smallest Sums 373. Find K Pairs with Smallest Sums Total Accepted: 1453 Total Submissions: 5789 Difficulty: Medium You are give ...
分类:
其他好文 时间:
2016-07-10 21:17:09
阅读次数:
236
Given two array of integers(the first array is array A, the second array is arrayB), now we are going to find a element in array A which is A[i], and ...
分类:
其他好文 时间:
2016-07-10 13:54:22
阅读次数:
136