Forum: NPC Scripting
04-23-2008, 11:56 PM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
04-23-2008, 02:12 AM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
04-22-2008, 06:35 PM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
04-22-2008, 09:53 AM
|
Replies: 55
Views: 38,101
Okay, well this thread has been dead for...
Okay, well this thread has been dead for sufficiently long time. Here is what I came up with; it takes quadratic time.
function onCreated() {
temp.p = getpatterns("THISISATESTSTRING");
for...
|
Forum: NPC Scripting
03-28-2008, 08:20 PM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
03-27-2008, 11:21 PM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
03-27-2008, 09:44 PM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
03-27-2008, 07:47 AM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
03-27-2008, 05:34 AM
|
Replies: 55
Views: 38,101
Do you want me to rank them or tell you how...
Do you want me to rank them or tell you how efficient I think they are? x-x
The theory behind big-O notation is that it should be an accurate measure of code efficiency regardless of language...
|
Forum: NPC Scripting
03-27-2008, 02:04 AM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
03-26-2008, 09:49 PM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
03-26-2008, 07:26 PM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
03-26-2008, 12:11 PM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
03-26-2008, 09:13 AM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
03-26-2008, 07:34 AM
|
Replies: 55
Views: 38,101
|
Forum: NPC Scripting
03-26-2008, 02:44 AM
|
Replies: 55
Views: 38,101
Programming Exercise #3
In a string of N characters, calculate the frequencies of repeated patterns, e.g., given "AUGCCCGTAUACGTA", one would get CGTA:2, CGT:2, GTA:2, CG:2, GT:2, TA:2, AU:2, CC:2. You do not need to...
|