由买买提看人间百态

topics

全部话题 - 话题: duplicated
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
C**********r
发帖数: 1032
1
来自主题: Seattle版 - Duplicate Boy --my younger story
Duplicate Boy
Out of all superheroes duplicate boy is the laziest. Duplicate boy
almost used his power everywhere. He used his power to do his chores and
homework, or to read a book. and finally a duplicate goes to school. He
always sleeps, eats, plays video games, read some book, and fight crime.
Duplicate boy has a lot of limitations. Duplicate boy only can make 5
copies of himself, and has to tell duplicates what to do. When he comes
to fighting crime, Duplicate boy can make copies of him and... 阅读全帖
y****9
发帖数: 144
2
来自主题: Database版 - How to find all duplicate record in SQL?
I guess you imply that duplicate means every columns in two rows are same. I
have a need to delete duplicate rows before, where duplicate means only
unique key columns are same. (see: http://oracle-study-notes.blogspot.com/2008/06/resolve-issue-of-duplicated-rows-in.html )
Here is a good post for Oracle, but should be applicable for SQL Server too
http://viralpatel.net/blogs/2010/06/deleting-duplicate-rows-in-
a*****a
发帖数: 1385
3
我知道如果要pp,就一定不要让USICS找DOL要perm duplicate。
我现在不确定是不是需要pp,于是初步打算先按照non pp来申,如果本财年接下来几个
月突然EB3 B表大进(使得我PD当前)而且还被HONOR的话,我就马上pp,降级过了后,
再提485进门。
我的问题是,现在表格中,还需要不需要让USCIS找DOL要perm duplicate呢?
或者换个问法,如果我不要USCIS找DOL要perm duplicate,只让律师附一份提交perm
复印件,这样的话可以么?会不会招来RFE?还是说就干脆等算了,不pp,就request
perm duplicate?
我的PD是Aug 19,2015.
感觉无论如何,都不可能2017财年有任何戏的吧?B表再honor也没戏的吧?
r******h
发帖数: 809
4
It can be with one side or both sides.
Side 1: Find all duplicates, (say totally n), and at most n*\delta elements
which are not duplicate by mistake.
Side 2: All elements find are duplicate, while some (at most n*\delta)
duplicate elements are not found...
m*********y
发帖数: 389
5
来自主题: Database版 - How to find all duplicate record in SQL?
+ is concatenation ; we use that a lot to find out and furthuer more, to
remove duplicate record. But, first thing first, how do you define your
duplicate is up to you.
you can use the Plus sign to concatenate string together...
Usually a table contains many, if not thousands of same first name, so, only
the same firstname&lastname&address combination together truly counts as a
duplicate.. it depends on how you define *duplicate* in your own table..
z**********8
发帖数: 2049
6
来自主题: Database版 - list duplicators in one table
我这个不是考试题阿。是我工作的一部分。
我们有个table, 我们称为 contacts, 主要是各类events和visiting,collect来的
information,同时我们因为有不少reports,供references,download,但是他们必须先
register. 所以,就不可避免地出现了duplication,需要定期清理。我今天一查,竟然
有大约8000余个duplicators,涉及16000余records. 当然其实,大多数不是真地
duplication,呵呵。比如我们有15个david smith。结果发现,一个duplication都不存
在,看上去,没有明显证据。真实的干活,跟课堂真实不一样。我只能半手工,半自动
,写一些codes,来处理这些数据,而且还要定期清理,呵呵。时间就一天天过去了。
w****t
发帖数: 129
7
买车的时候车主提供了title文件,标题是certificate of title,但是下面接着一行
字:
this is a duplicate certificate and may be subject to the right of a person
under the original certificate odometer mileage from original certificate.
车主说原title丢了,去年新办了一个。我查autocheck也确实是一年前办了这个title.
然后拿着这个duplicate certificate去dmv换title,工作人员也没说什么,顺利提交
了application了。
回来一想,应该问清楚一点的,万一车主找到了原来的title怎么办,我钱已经付了,
并且是给的cash,这样子会不会有问题??关键是这个duplicate certificate title
是不是具有同等效力?
a******h
发帖数: 1183
8
来自主题: Automobile版 - urgent: new car with duplicate title?
谢谢大家回复,我们可以理解title上不是我们的名字,而是银行的名字。只是一开始搞不明白要duplicate title,因为duplicate title是丢了original title才需要的。不过后来听finance的人解释就明白了。
后来问清楚了,finance的那个人跟我说,那个duplicate title是以防original title
寄给我们的时候寄丢了。如果万一真的寄丢了,那么他们就会给我们重新申请一份,如
果三个月内我们没有通知他们说我们没收到original title的话,他们就将那份文件销
毁了。
最后终于把车买下来了,多谢大家。
g******s
发帖数: 410
9
来自主题: Automobile版 - Duplicated titles
也不一定是丢了。我的title就是duplicate,原因是DMV寄给我title的时候被我在拆信
封的时候不小心用刀片裁成了两半。这种title以后也不能再转给别人了,于是第二天我
就再申请了第二张。结果不出一个月autocheck上就变成duplicate title了。其实dupl
icate title跟原来的那张在纸张和印刷方式上还是有一定区别的,至少我手里的两张就
不太一样。我以前买车的时候也看到过一些车有duplicate title的记录,有些担心。其
实只要你能在DMV转得成title,一般就没什么问题。
x*****1
发帖数: 687
10
来自主题: Automobile版 - Duplicate title record(s) ??
约了一个车明天看,查VIN发现是Duplicate title record(s) :
Duplicate Title Vehicle Use and EventCheck The vehicle had a duplicate
title issued by the DMV.
一个车两个title,晕了,是怎么回事,这种车靠谱吗?
w****4
发帖数: 143
11
来自主题: Automobile版 - Duplicate title record(s)有风险么?
查到车的history有Duplicate title record(s), 请问这样有风险么?
在网上搜到有人说,一般是title lost之后补办的,但是补办的那个新的会注明
duplicate title,所以要买的话一定要是那个注明duplicate的,只要是那个就没问题。
但是又看到有人说什么可能是在同一时间买和卖了,但是report显示这是第一个owner
,没搞懂什么意思。
哪位能帮忙解释下么?
多谢多谢!
W***o
发帖数: 6519
12
【 以下文字转载自 Programming 讨论区 】
发信人: Wardo (Wardo), 信区: Programming
标 题: Java 问题,请教如何找出一个array里的duplicate segments?
发信站: BBS 未名空间站 (Sat Sep 14 00:11:22 2013, 美东)
比如我有一个这样的array {1, 2, 3, 3, 3, 3, 5, 6, 8, 8, 8, 8, 8, 9, 9, 9, 9}
,我希望找出里面的duplicate segment {3, 3, 3, 3} {8, 8, 8, 8, 8} {9, 9, 9, 9}
我的想法是用两个指针i,j。i 初始化在index 0, j 在 N - 1最后一个index. 保持i不
懂,用j从用往左扫描,如果没找到,让j停在i + 1的位置,然后increment i to i+1,
j to N-1. 如此反复,如果j找到了一个duplicate segment的最右端, 此时test[i] =
= test[j] true,这个时候打印出这个segment. 然后increm... 阅读全帖
c*******r
发帖数: 610
13
最近看到一道题,没什么特别好的思路,请教各位大神:
Given a string s, remove duplicate adjacent characters from s recursively.
For example:
Input: "abbac"
Output: "c", first remove adjacent duplicated 'b's, then remove adjacent
duplicated 'a'.
Input: "acbbcad"
Output" "d", first remove 'b', then remove 'c', then remove 'a'.
Input: "acbbcda"
Output: "ada"
Do it with one pass over the string.
Thx!
x*******n
发帖数: 3
14
I am just a bit curious about what is the use of duplicate elimination.
Could you please provide a real-world scenario for duplicate elimination
in stream processing?
What is your desired output? at every moment, eliminate duplicate tuples
and output the unique items to next operator?
I also think hash could be a good approach.

the
f*******h
发帖数: 1269
15
A read world application:
You use mutiple sensors to sense a same target, to increase accuracy, e.g.,
mount sensors on different directions for maximum coverage of the target. The
sensors are synchronized not to do duplicate readings. But, in reality,
duplicates still happen.
So, you don't want multiple readings of a same value.
Since all values are distinct except duplicates, how to design a hashing
function?
b****r
发帖数: 113
16
来自主题: Database版 - how to find duplicates in mysql
In this talbe, each line is in this format:
ID, Name
1, abc
2,de
3,abc -------duplicate
4,de -------duplicate
5,gg
.
.
.
ID is the primary key. How to find and delete any possilbe duplicates of
"Name"? Thanks in advance.
b******e
发帖数: 1861
17
有一个table (parentId, tag, start_date, end_date, error_code). parentId,
error_code not nullable, 其他都是nullable. error_code 每一个bit表示一种error
, 最低一位表示duplicate。现在要写一个query来设或清除duplicate error.
duplicate是如果任何两个row的parentId, tag相同,start_date, end_date代表的
range overlap。query要在oracle, sqlserver都能run。大家有什么好建议。用merge,
update,还是什么性能最好。
运行时parentId, tag, default start date, default end date会作为prepared
parameter传入。start date or end date 是null的话要default成default start
date, default end date.
另外我们定义了BIT_AND,BIT_O... 阅读全帖
W***o
发帖数: 6519
18
【 以下文字转载自 Programming 讨论区 】
发信人: Wardo (Wardo), 信区: Programming
标 题: Java 问题,请教如何找出一个array里的duplicate segments?
发信站: BBS 未名空间站 (Sat Sep 14 00:11:22 2013, 美东)
比如我有一个这样的array {1, 2, 3, 3, 3, 3, 5, 6, 8, 8, 8, 8, 8, 9, 9, 9, 9}
,我希望找出里面的duplicate segment {3, 3, 3, 3} {8, 8, 8, 8, 8} {9, 9, 9, 9}
我的想法是用两个指针i,j。i 初始化在index 0, j 在 N - 1最后一个index. 保持i不
懂,用j从用往左扫描,如果没找到,让j停在i + 1的位置,然后increment i to i+1,
j to N-1. 如此反复,如果j找到了一个duplicate segment的最右端, 此时test[i] =
= test[j] true,这个时候打印出这个segment. 然后increm... 阅读全帖
W***o
发帖数: 6519
19
【 以下文字转载自 Programming 讨论区 】
发信人: Wardo (Wardo), 信区: Programming
标 题: Java 问题,请教如何找出一个array里的duplicate segments?
发信站: BBS 未名空间站 (Sat Sep 14 00:11:22 2013, 美东)
比如我有一个这样的array {1, 2, 3, 3, 3, 3, 5, 6, 8, 8, 8, 8, 8, 9, 9, 9, 9}
,我希望找出里面的duplicate segment {3, 3, 3, 3} {8, 8, 8, 8, 8} {9, 9, 9, 9}
我的想法是用两个指针i,j。i 初始化在index 0, j 在 N - 1最后一个index. 保持i不
懂,用j从用往左扫描,如果没找到,让j停在i + 1的位置,然后increment i to i+1,
j to N-1. 如此反复,如果j找到了一个duplicate segment的最右端, 此时test[i] =
= test[j] true,这个时候打印出这个segment. 然后increm... 阅读全帖
s*********e
发帖数: 17
20
来自主题: Programming版 - 一道c++ 题, 找出duplicate numbers
You are given an array of 16 bit numbers.
The array may contain few duplicates not to exceed 0.1%
of array size. Each duplicated number can occur multiple tiimes.
The goal is to write high performance function to find out those
duplicated numbers, and how many times each number occurs.
j*****h
发帖数: 62
21
来自主题: Programming版 - 一道c++ 题, 找出duplicate numbers
you can also use a bitmap (8K bytes) to detect duplicates,
and use a hashtable to store the counters for each
duplicate. Since only there're only 0.1% duplicates, the hash
table should be very small.
m******k
发帖数: 43
22
来自主题: Programming版 - 一道c++ 题, 找出duplicate numbers
why not directly use bitmap. Since duplicate rate <0.1%. So the maximium
duplicate occurrences will be less than 64K * 0.001 <=66. So for each number
in bitmap, I would use 7 bit to represent. So total memory consuption is
7bits * 64K =56KB. Then I can directly count the number of duplicates in
this bitmaps
In the other side, I just wonder if you use an extra Hashtable, How many
slots are you gonna use? I think it's O(n) where n is the size of the array.

you can also use a bitmap (8K bytes) to
o*********5
发帖数: 894
23
Duplicate Title Vehicle Use and EventCheck The vehicle had a duplicate
title issued by the DMV.
d*****a
发帖数: 46
24
来自主题: Automobile版 - what is "duplicate title?"

........
Duplicate title: If the original title has been lost, stolen or mutilated,
you may apply for a duplicate.
w****t
发帖数: 129
25
官方给的说法是duplicate后,原title就自动失效了,所以应该没有问题。不知您的
duplicate是玩具的说法是从何来?每个州不一样?
a******h
发帖数: 1183
26
来自主题: Automobile版 - urgent: new car with duplicate title?
cant type chinese now. we are at dealership now and going to buy a new car.
but the dealer said we need to authorize them to apply for duplicate title
first in order to talk about the finance rate. why need a duplicate title?
thank you.
a******h
发帖数: 1183
27
来自主题: Automobile版 - urgent: new car with duplicate title?
后来想了一下,那个duplicate title貌似是给我们trade in的车的。。。
我们有title,不过最后close deal的时候他们只让我们在我们的title上签字,让我们
不要写别的了,因为一有写错都会作废,所以他们宁愿那一部分他们自己填。然后他们
在留一份那个duplicate title的东西还有power of attorney,不知道是不是就是怕
trade in的车的title有什么出错了的
b*******3
发帖数: 81
28
查了一辆车的autocheck,看到里面有条RT的记录:
2 Event(s) Reported: 9 Vehicle events checked:
No accident record reported through accident data sources
No corrected title record
Duplicate title record(s)
No emission/safety inspection record
Loan/Lien record(s)
No fire damage incident record
No repossessed record
No theft record
No storm area registration/title record
那个Duplicate title record(s)是什么意思啊,是否影响买车哦,很多地方不懂,谢
谢大家。。
y****g
发帖数: 15
29
I am looking at one used nissan altima 06 sedan. From the autocheck record
At 04/17/2006, odometer reading from DMV: 38
At 11/14/2006, manufacturer recall recall pb023 QR25 ALT-SER MYO6 NTB06-082
LOCATE YOUR NEAREST AUTHORIZED NISSAN DEALER TO SCHEDULE REPAIR
At 12/13/2012, odometer reading from DMV: 62,157
At 12/14/2013, duplicate title
It is the first time for me to buy a car. I can not understand what is the "
manufacturer recall" and "duplicate title" mean. Are they serious problem
for the c... 阅读全帖
a******y
发帖数: 112
30
carfax 一辆2002的旧车
发现 3 events
Fleet, rental and/or lease use record(s)
Duplicate title record(s)
Loan/Lien record(s)
请问这个对车的resale value有很大影响么,车inspection倒是没有太大问题 另外
Duplicate title record(s); Loan/Lien record(s)是什么意思呢, 这种车可以买么?
多谢!
s*****r
发帖数: 773
31
来自主题: JobHunting版 - find duplication and missing in array
请问是不是find duplication和missing 的方法都是一样的
有n个数 range 是 [1, N-1],只有一个是duplication, 比如,N=4, {1,2,3,3}
方法:
1 数组全部加起来,和减去 1到N-1的和;
2 数组全部XOR, 然后依次XOR 1到 N-1;
3 二分法;
有 n-1 个数 range 是 [1, N],只有一个missing, 比如,N=4, {1,2,3}
方法:
1 全部 1到N,加起来,和减去数组的和;
2 数组全部XOR, 然后依次XOR 1到 N;
3 二分法;
m**q
发帖数: 189
32
Finding a duplicated integer. Given a read-only array of n integers between
1 and n-1, design an O(n) time algorithm to find a duplicated integer. Use
only O(1) space. Hint: equivalent to finding a loop in a singly linked
structure.
看了提示好像更糊涂了
read-only array, O(n) time and O(1) space,而且不限定只有一个interger
missing,貌似没办法啊..
d*******y
发帖数: 31
33
一个array size n, element from 1 ~ n-1, 不确定有多少个duplicate,怎样用O(n)
的时间和 O(1)的空间来找出duplicate的元素。可以修改array
有人用这种code,这个是O(n)的复杂度吗?怎么分析呢?
for 1 <= i <= n:
while A[i] ≠ i:
if A[A[i]] = A[i]: return A[i]
swap(A[A[i]], A[i])
k*j
发帖数: 153
34
题目能不能再clarify一下?如果有好几个不同的unique duplicate呢?是return
total number of unique duplicate?
o******e
发帖数: 1001
35
对,好几个不同node的duplicates, return the number of duplicates for all the
nodes in the tree.
其实就是这个题目:
http://www.careercup.com/question?id=14462692
T*******d
发帖数: 279
36
来自主题: Immigration版 - [包子求助]Duplicate notice (转载)
【 以下文字转载自 EB23 讨论区 】
发信人: ThankLord (感谢主), 信区: EB23
标 题: [包子求助]Duplicate notice
发信站: BBS 未名空间站 (Fri Mar 20 11:47:39 2015, 美东)
由于我的RFE通知9天了还没收到(怀疑根本没寄出来),我跟客服联系了,他们同意给
我重新寄一份
今天发现网上状态变成了duplicate notice寄出,大家说这种情况,是不是真寄出来了
?不知道有没有朋友有类似的经历?
非常感谢
T*******d
发帖数: 279
37
来自主题: EB23版 - [包子求助]Duplicate notice
谢谢
我明白这个duplicate notice的含义(事实上是在我的要求下他们才寄出来第二份通知
的)
我现在就想问下这次是不是真寄出来了,因为最近好像nsc寄东西很拖,我怀疑第一次
通知根本没寄出来,如果这份duplicate寄出来了,那下周就能收到了,否则像第一份
通知,连寄都没寄,那真不知道要等到什么时候了
s******9
发帖数: 295
38
知道ACE可以duplicate key,不知道能不能duplicate auto key,可以咨询一下阿
r******h
发帖数: 809
39
Do you mean duplicate in the window or duplicate in the whole streaming,
with accessing data only in a window each time?
And do you expect an exact result or approximate result?
x*******n
发帖数: 3
40
Just my small piece of views.
I assume duplicate reading will only happen in a small range of time interval,
then within such kind a short interval, I guess brute force or else may
sometimes be better without complicated structures overhead. kidding.hehe
Are your values within a fixed range and discrete? This may help.
Regarding to the hashing function, I am not sure which design will be better.
I guess this deal with the distribution of your data and duplicate.

The
than
f********u
发帖数: 572
41
来自主题: Database版 - How to find a duplicate record in Access?
a 30,000 records table. When trying to set a primary key,
found out there are duplicate index number...what's the
most efficient way to find the duplicate record?
x***n
发帖数: 39
42
来自主题: Database版 - Re: How to find a duplicate record in Ac
Suppose the primary key you wanna set is MyTable.ColumnA
Then
SELECT MAX(Duplicates), ColumnA
FROM
( SELECT COUNT(*) AS Duplicates, ColumnA
FROM MyTable
GROUP BY ColumnA);
g***l
发帖数: 18555
43
来自主题: Database版 - How to find all duplicate record in SQL?
这个问题我面试的时候问过无数次了
DISTINCT去除DUPLICATE RECORD
GROUP BY 去除DUPLICATE KEY
你要这个都不会的话,基本的SQL不懂
m*********y
发帖数: 389
44
来自主题: Database版 - How to find all duplicate record in SQL?
Let's say you have first name, last name, and address in one table.
Here duplicate means same firstname&lastname&address combination, for
instance:
John|Doe|123 Main st|...|...
John|Doe|123 Main st|...|...
Mike|Smith|567 Springfield ave|...|...
to find duplicate, do this:
select * from dbo.person where firstname+lastname+address
in (select firstname+lastname+address from dbo.person
group by firstname+lastname+address having count(*)>1)
Does this make sense?
b******e
发帖数: 1861
45
这个duplicate更多是business logic上的duplicate,比如说同一个订单里不能有两个
同样的零件有重叠的日期,因为涉及到日期重叠而不是一样,所以group by可能不行吧
。我想过简单的处理这个的Logic是遍历每一个row,然后用一个exists来找其他row有没
有跟这个row有一样的parent id, tag, overlap的日期的,如果有就设置错误位,没有
就清除错误位。不过感觉这样不会很快,可能会有更好的方法。
另外要求sqlserver和oracle都能用,只能是ansi sql了,又麻烦了点。
e*****t
发帖数: 1005
46
来自主题: Java版 - Netbean duplicate class error
duplicate class: check if you do have duplicate classes (two classes with th
e same name in the same package).
About moving a variable reference, the compiler is right if you are referenc
ing it from any innerclass, it needs to be decalred final. If it can't be fi
nal, then you shouldn't refrence it directly, in other words, you should pas
s it in somehow.

accessed
W***o
发帖数: 6519
47
比如我有一个这样的array {1, 2, 3, 3, 3, 3, 5, 6, 8, 8, 8, 8, 8, 9, 9, 9, 9}
,我希望找出里面的duplicate segment {3, 3, 3, 3} {8, 8, 8, 8, 8} {9, 9, 9, 9}
我的想法是用两个指针i,j。i 初始化在index 0, j 在 N - 1最后一个index. 保持i不
懂,用j从用往左扫描,如果没找到,让j停在i + 1的位置,然后increment i to i+1,
j to N-1. 如此反复,如果j找到了一个duplicate segment的最右端, 此时test[i] =
= test[j] true,这个时候打印出这个segment. 然后increment i to j + 1, j to N-
1,再反复这个过程直到 i = j然后跳出循环。
最近脑袋比较浆糊,写了下面这个代码,但是不work,请各位来点播一下思路。谢谢了
int[] test = new int[] {1, 2, 3, 3, 3, 3, 5, 6, 8, 8, 8, 8, 8, 9, 9, ... 阅读全帖
i******r
发帖数: 861
48
来自主题: Statistics版 - 给duplicate加flag
有数据A:
dataset A
col1 col2
a b
a b
c d
c d
c d
c d
x y
x y
w h
s k
m j
需要给duplicate加flag:第一个为Y,其余的为N,没有duplicate就为空,
最后的数据B 应该如下:
dataset B
col1 col2
a b Y
a b N
c d Y
c d N
c d N
c d N
x y Y
x y N
w h .
s k .
m j .
用sql怎么写?
V****e
发帖数: 858
49
来自主题: Statistics版 - 怎样保留excel里Duplicated的ID
有点复杂。比如学校里一学期一个学生可以选几门课:有的选两门,有的3门,还有的4
门。怎样在上万个ID中(包括重复的ID),按照课程,把选了两门,选了3门和选了4门课
的学生分别挑选出来。
我真是有点糊涂了。我知道excel可以找到duplicated, 但找到后只能remove
duplicated,不能保存,同时怎样安课程分开这些ID,课程很多。
请帮忙给点建议。谢谢!
l******w
发帖数: 266
50
(梁勇律师事务所,lianglaw.com专稿)我们在今年的2月报导了有关移民局正在草拟是
否可以提出“Duplicate”H-1B 申请的相关规定,目前相关的规定已经在OMB Cleared
了。
由于之前移民律师协会有消息指出相关规定包括同个一雇主申请一般及美国硕士学位以
上H-1B 的申请“可能”不列入Duplicate 之列,这也让大家最关心的问题。
在OMB Clear 之后就等待相关部门最后签名定案后送联邦公报上公布,由于4月1日移民
局即将开始接受H-1B Cap 的申请,相信移民局也会以最快的速度公布。
请随时注意本网 新闻。
***谢谢您阅读本文,如需转载,请注明出处,其他相关新闻请查看本所网址:http://www.lianglaw.com
***若您有相关法律问题,请先咨询自己的律师;若有具体个案问题需要咨询请与本所
联络。
Law Offices of Jonathan Liang
9300 Flair Dr., Suite 105, El Monte, CA 91731
Tel: (626)288-7900,
Fax: (626)288-7902,
http:
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)