Click here to Skip to main content
15,892,927 members
Home / Discussions / C#
   

C#

 
AnswerRe: Phone Book DataBase Pin
Colin Angus Mackay18-Jul-07 9:09
Colin Angus Mackay18-Jul-07 9:09 
AnswerRe: Phone Book DataBase Pin
Paul Conrad18-Jul-07 9:16
professionalPaul Conrad18-Jul-07 9:16 
JokeRe: Phone Book DataBase Pin
BoneSoft18-Jul-07 9:23
BoneSoft18-Jul-07 9:23 
AnswerRe: Phone Book DataBase Pin
Luc Pattyn18-Jul-07 9:23
sitebuilderLuc Pattyn18-Jul-07 9:23 
GeneralRe: Phone Book DataBase Pin
Paul Conrad18-Jul-07 9:31
professionalPaul Conrad18-Jul-07 9:31 
JokeRe: Phone Book DataBase Pin
Luc Pattyn18-Jul-07 10:36
sitebuilderLuc Pattyn18-Jul-07 10:36 
QuestionWithout O(n2) Pin
h@s@n18-Jul-07 7:33
h@s@n18-Jul-07 7:33 
AnswerRe: Without O(n2) Pin
Xodiak18-Jul-07 7:48
Xodiak18-Jul-07 7:48 
go through the array and use a dictonary<object, int=""> where object is the array element (or some unique identifer for the items in your array) and int is the count of occurances. go through the array once and add items into the dictonary if it doesn't exist, or increment the count value (the dictonary is a hash so it will be really fast in finding the key/seeing if it exists). after going through the array once, iterate each KeyValuePair in the dictionary and look for any int values greater than 1. your complexity is about O(2n + 1).
AnswerRe: Without O(n2) Pin
Luc Pattyn18-Jul-07 7:56
sitebuilderLuc Pattyn18-Jul-07 7:56 
AnswerRe: Without O(n2) Pin
dino209418-Jul-07 8:01
dino209418-Jul-07 8:01 
QuestionWindows XP Colors Pin
Whoami Whoami18-Jul-07 7:21
Whoami Whoami18-Jul-07 7:21 
AnswerRe: Windows XP Colors Pin
WillemM18-Jul-07 7:28
WillemM18-Jul-07 7:28 
GeneralRe: Windows XP Colors Pin
Scott Dorman18-Jul-07 8:36
professionalScott Dorman18-Jul-07 8:36 
AnswerRe: Windows XP Colors Pin
Scott Dorman18-Jul-07 8:35
professionalScott Dorman18-Jul-07 8:35 
QuestionCouldn't click any botton using BackgroundWorker Pin
pnpfriend18-Jul-07 6:51
pnpfriend18-Jul-07 6:51 
AnswerRe: Couldn't click any botton using BackgroundWorker Pin
led mike18-Jul-07 7:23
led mike18-Jul-07 7:23 
GeneralRe: Couldn't click any botton using BackgroundWorker Pin
pnpfriend18-Jul-07 8:41
pnpfriend18-Jul-07 8:41 
GeneralRe: Couldn't click any botton using BackgroundWorker Pin
led mike18-Jul-07 9:54
led mike18-Jul-07 9:54 
GeneralRe: Couldn't click any botton using BackgroundWorker Pin
pnpfriend19-Jul-07 4:41
pnpfriend19-Jul-07 4:41 
GeneralRe: Couldn't click any botton using BackgroundWorker Pin
led mike19-Jul-07 6:43
led mike19-Jul-07 6:43 
GeneralRe: Couldn't click any botton using BackgroundWorker Pin
pnpfriend27-Jul-07 11:19
pnpfriend27-Jul-07 11:19 
GeneralRe: Couldn't click any botton using BackgroundWorker Pin
led mike30-Jul-07 5:14
led mike30-Jul-07 5:14 
QuestionWork with files Pin
suntromantralalalala18-Jul-07 6:31
suntromantralalalala18-Jul-07 6:31 
AnswerRe: Work with files Pin
BoneSoft18-Jul-07 6:39
BoneSoft18-Jul-07 6:39 
GeneralRe: Work with files Pin
suntromantralalalala18-Jul-07 6:47
suntromantralalalala18-Jul-07 6:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.