Forum Discussion Search with BoardTracker.com
Forum Discussion Search with BoardTracker.com
  
  

Advanced  |  Help
    Home Search Alerts Browse My Threads Setup About Login Signup    


» All > Computers & Internet > Algorithms [5 Forums][Track this Category]
   Browse sub-categories   
No sub-categories for this category

   Latest threads in category   
CodeGuru Viswanath's constant  
16:57 23-Feb-08   [Replies: 0, Views: 101]    By: TT(n)
This program can use the golden string to calculate Viswanath's constant. More details about Viswanath's curve here [http://groups.myspace.com/ViswanathsCurve]>. Code: Option Stric...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Please help me with this algorithm  
20:39 22-Feb-08   [Replies: 5, Views: 296]    By: eniven
Hi there, I'm working on a PhD in an engineering field and it requires a bit of programming. My programming knowledge is extremely limited so I'm having a bit of a tough time with it. I'm wo...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Finding numbers that happen most often?  
22:24 21-Feb-08   [Replies: 2, Views: 208]    By: BytePtr
I need some algo gurus. Here is a problem. I have numbers from 1 to 64. They are always different in that range. Many of them happen many times, some of them not. I just want to create ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru MergeSort and Reverse for Link List  
09:50 20-Feb-08   [Replies: 4, Views: 244]    By: Peter_APIIT
Hello all expert programmer, i looking for an algorithm to sort a link list. I found out that merge sort is best suitable in link list. http://www.chiark.greenend.org.uk/~...s/listsort.html [...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru MergeSort and Reverse for Link List  
09:46 20-Feb-08   [Replies: 1, Views: 89]    By: Peter_APIIT
Hello all expert programmer, i looking for mergesort version for link list but i don't understand the algorithm. http://www.chiark.greenend.org.uk/~...s/listsort.html [http://www.chiark.green...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Does cents*cents make any sense? (no pun intended)  
04:02 19-Feb-08   [Replies: 2, Views: 99]    By: Paladaxar
WARNING: Theoretical question ahead...and may not be worth your time. My friends and I are arguing right now about sub ranges. If we were to make a type "cents" that consists of th...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Heapsort algorithm  
00:44 19-Feb-08   [Replies: 11, Views: 383]    By: ngolehung84
Hi everyone, In this document: http://www.cs.vassar.edu/~cs241/BHProof.pdf [http://www.cs.vassar.edu/~cs241/BHProof.pdf]> Theorem 1 "There are at most ceiling(n/2power(h+1) no...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Using DFS in Ford Fulkerson Max Flow  
06:47 18-Feb-08   [Replies: 0, Views: 153]    By: legend986
I was wondering why we don't use DFS in Max flow problems (or do they use?) I read an article where it was specifically mentioned that Breadth first search is used and not Depth First Search... Is...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Miller Rabin algorithm  
09:53 17-Feb-08   [Replies: 0, Views: 183]    By: iosystem
Hi I have 2 questions regrading the above algorithm: How many numbers of 1000 bits are indeed prime? (it should be about 1/X of the numbers. what is X?) What is the average number o...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Quadratic/Double Hashing  
11:21 13-Feb-08   [Replies: 1, Views: 121]    By: Eclyps19
I somewhat understand Chain, Linear, and Quadratic hashing, but I am confused about double hashing. I'd like to know if any of you could help with a couple questions I'm stuck on. First qu...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru step counting this algorithm  
23:18 12-Feb-08   [Replies: 0, Views: 88]    By: -EquinoX-
the code is: Code: w = 0; while (true){ k = 0; while (a[k] == nil){ k = k + 1; if (k == n+1) System.exit(); } w = w +1; b[w] = a[k] c[w] = 1; a[k] = nil; for (int j = k...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Hash Join Algorithm  
08:54 11-Feb-08   [Replies: 1, Views: 96]    By: jackee1234
I have two tables, table implements using List<int[]> structure. The table has two columns(which mean int array is of size two) List<int[]> tablea; List<int[]> tableb; ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru creating a recursive way to find max and min in array  
21:08 10-Feb-08   [Replies: 11, Views: 405]    By: -EquinoX-
I am kind of confused with this instruction: Describe a recursive algorithm for finding both the minimum and maximum elements in an array A of n elements. Your method should return a pair (a,b...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru help me to create this algorithm  
18:28 10-Feb-08   [Replies: 9, Views: 251]    By: -EquinoX-
An array A contains n -1 unique integers in the range [0, n-1], that is, there is one number from this range that is not in A. Design an O(n) -time algorithm for finding that number. You are allow...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Timetable optimisation algorithm.  
06:45 10-Feb-08   [Replies: 1, Views: 153]    By: internettuffguy
Hi folks, I'm keen on writing a piece of software that takes a university student's timetable options (Multiple classes, multiple tutorials, contacts and lecture options for each class etc) an...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Factorial of a Number  
16:09 9-Feb-08   [Replies: 3, Views: 180]    By: legend986
I have seen the iterative and recursive ways of calculating the factorial of a number but is there an efficient of way of doing it say in a log-time or something? ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Symbolware.AIMA: C# implementation of AIMA  
12:50 8-Feb-08   [Replies: 2, Views: 159]    By: Unnamed
Quote: Originally Posted by JimK Why you have selected to use C# and not Python? [I believe it is more efficient than C# for such a problem] Please...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Symbolware.AIMA 0.4 Released  
12:48 8-Feb-08   [Replies: 0, Views: 78]    By: Unnamed
This release contains a WPF user interface. The source code can be download from http://www.symbolware.com/aima [http://www.symbolware.com/aima]> AIMA blog: http://blogs.symbolware.com/?ca...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Algorithm is fine but now implementation?  
06:18 5-Feb-08   [Replies: 3, Views: 166]    By: legend986
As a matter of curiosity, we keep reading so many algorithms but if I'm not mistaken, it must be taking a lot of coding to actually get that to work. There is this job scheduling problem whose sol...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Visible Lines  
06:14 5-Feb-08   [Replies: 5, Views: 137]    By: legend986
When a set of lines not parallel to each other are given. What is the best way of getting the visible lines? These are in the 2D space and I'm sort of viewing from y=infinity... I thought of u...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Preorder == Insertion order  
05:24 4-Feb-08   [Replies: 1, Views: 109]    By: cthan323
In a binary tree, will the order that values are inserted always be the same as the preorder traversal? For example, inserting ints in this order: 6 2 1 4 3 5 7 will produce a binary tree t...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru substring search  
02:03 3-Feb-08   [Replies: 3, Views: 326]    By: djassie78
Hi All, I need an efficient algorithm for this trouble. I need a function f(A,B) which says if string B is contained in string A. The characters of string B only need to be in the right order, l...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru threading a binary tree  
12:08 2-Feb-08   [Replies: 2, Views: 472]    By: chickenandfries
How do I transform a non-threaded binary tree into an completely inorder threaded binary tree wherein the null left and right sons of a leaf are made to point to its inorder predecessor and inorde...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru level-order sorting without using a queue  
15:08 1-Feb-08   [Replies: 1, Views: 391]    By: chickenandfries
I'm able to sort the contents of the tree in level-order using the tree and a queue; but is there any way to do it using the tree only and a dummy variable like an integer or a character? ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru duplicating a tree  
13:49 1-Feb-08   [Replies: 2, Views: 402]    By: chickenandfries
I'm trying to duplicate a binary tree with the following code: treeNode* copy(treeNode *root) { treeNode *dupRoot, *dupLeft, *dupRight; if (root!=NULL) { dupLeft=copy(root->left)...
[Tags: No tags defined yet] -
Be the first to Tag this thread

<<First  <Previous  1  2  [3]  4  5  6  7  8  9  10  Next>      
 




Research | Board owners portal | BoardTracker Forums | Search plugin | Add your board | About us | Contact us

© Pidgin Technologies Ltd. 2006