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 Dijkstras Shortest Path Algorthim  
02:31 26-Apr-07   [Replies: 5, Views: 398]    By: dj-kentucky
I got puedo code for this, but i can't put it into real code. Here my pusedo code: Given a graph, G, with edges E of the form (v1, v2) and vertices V, and a source vertex, s dist : array...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru removal of superfluous brackets  
07:43 21-Apr-07   [Replies: 1, Views: 270]    By: abhi_86
hi all i would like to know the algorithm to be used to remove superfluos brackets in an infix expression. and i dont want the algorithm which involves converting the infix to postfix and the...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Simulated Annealing to solve N-Puzzle  
07:27 21-Apr-07   [Replies: 2, Views: 595]    By: ACMTino
Is there any body use Simulated Annealing algorithm to solve N-Puzzle problem? Please give me some details about it. And if you have source, please forward a copy of it to acmTino@gmai...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Algorithm for optimal teritorial coverage  
13:20 9-Apr-07   [Replies: 6, Views: 292]    By: ivanatora
Hi there! I have the following task: a country teritory is given as a matrix of 0 and 1. I must place military bases across the country - every base cover the neighbour teritory as well. All bas...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru dining philosopher;s prb. (but with modification)  
11:10 6-Apr-07   [Replies: 1, Views: 401]    By: sangfroid
Hi, I need to solve the dinining philosopher's problem , but with modifications so that Only at a time , either even or odd philosopher can eat... I am wondering how it will be tr...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Algorithm to compare vectors/lists/arrays of ordered numbers  
13:05 5-Apr-07   [Replies: 5, Views: 569]    By: RedMary
Hi all, I'm looking for an algorithm that can compare two numeric vectors/lists/arrays. The vectors contain ranked numbers. Do you know any good algorithms that I can use to compute some kind ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru number of neighbors  
02:24 5-Apr-07   [Replies: 2, Views: 276]    By: jshine
I've got a problem which seems general enough that it's probably been addressed before, but I was wondering if someone could point me towards the solution. The problem is this: I've got a ser...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Check a Point lies in a Line segment  
06:11 4-Apr-07   [Replies: 4, Views: 386]    By: PremalathaP
Gurus, Can you please guide me to find the logic or algoirthm to check whether a Point P(x, y) lies in a Line constructed by two Points A(x, y) & B(x, y)? Thanks in advance. ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Converting database format  
16:36 3-Apr-07   [Replies: 11, Views: 354]    By: Paul.
Well wasn't sure where to post and the title "Data structures" got my attention. I have a database file that needs converting into an SQL format, or even just tab deliminated text do...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Non-square sub matrix in O(n^2)  
16:33 31-Mar-07   [Replies: 1, Views: 307]    By: codesleuth
Hi, I would like to know if there is any way we can find a sub matrix of a matrix in O(n^2)? There is a thread in this forum, but it only works for square matrices. Will we be able to extend ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru least common multiple for multiple integers  
14:05 29-Mar-07   [Replies: 1, Views: 358]    By: princemaozh
we have the algorithmn to calculate the least common multipe(LCM) for 2 integers. However, how to calculate the LCM for multiple integers (e.g. LCM for 2,3,5 is 30) ? Could anyone share w...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru suffix tree help  
06:04 28-Mar-07   [Replies: 2, Views: 315]    By: forfan
I am now working on a small string matching program which requires the implementation of suffix tree. I googled, and found some good free suffix tree classes. The problem is none of the classe...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Trees  
21:33 26-Mar-07   [Replies: 3, Views: 306]    By: Momarg
Hello, First off, this is my first post on the forums, so hello all! Secondly, my problem is this. I have a small console game in which I just finished that requires moves on a board. Yo...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Linked List Operations  
14:16 25-Mar-07   [Replies: 5, Views: 516]    By: js_load
I have a problem with datastructures.please help me around. Problem: a. Write a routine to make two lists L1 and L2 with 5 elements given by the user at run time. Or add two lists with its...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Where to start?  
23:27 22-Mar-07   [Replies: 10, Views: 366]    By: dglienna
I found this on the web, and wondered how you would go about figuring it out. Recursively? Brute-force? Just wondering... Quote: Imagine a golf ball. Each has approx 300-...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru true or false  
19:33 18-Mar-07   [Replies: 3, Views: 349]    By: kolorowy
I have simple question which I'm not sure of. if it is true Θ(n^2) +Θ(n^2) = Θ(n^2) Θ(n^2) + O(n^2) = Θ(n^2) Θ(n^2) * O(n^2) = Θ(n^4) Θ(...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Brainstorm about Serial key generation  
15:10 15-Mar-07   [Replies: 3, Views: 335]    By: Alter88
Hello, I'm trying to secure my program with a serial key. Just like office or windows. When I, i.e, have a code in the form xxxxx-xxxxx-xxxxx-xxxxx I could check if every xxxxx meets some ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru BST and AVL  
04:07 14-Mar-07   [Replies: 1, Views: 310]    By: kolorowy
How do I calculate, of how many different binary search trees there are, that stores the keys {1, 2, 3, 4, ........, 9, 10} The same question for AVL. ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Sub matrix  
22:26 12-Mar-07   [Replies: 5, Views: 348]    By: akerlund83
I want a matrix where data is stored in the following order: 0 1 4 5 2 3 6 7 8 9 12 13 10 11 14 15 So it's basically a 2x2 matrix which holds 2x2 submatrices. Now, 2x2 will not be fi...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru arithmetic expression tree  
02:20 11-Mar-07   [Replies: 3, Views: 373]    By: kolorowy
I have a problem which I can't figure out I need to draw an arithmetic expression tree that has four external noders,storing the numbers 1,5,6, and 7 (with each number stored in a distinct ex...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Trees and Keys  
13:54 9-Mar-07   [Replies: 9, Views: 378]    By: vilanova
Hi, can anyone give me advice on how to implement a balanced bst which has more than 2 leafes per node, 2 characters and 2 integers, both types independantly sorted but linked to each other?? not ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru ranking Algorithm PLEASE HELP!  
10:11 9-Mar-07   [Replies: 0, Views: 320]    By: swamy_G
I'm working on this website that lets you predict what stocks (the ones trading in the stockmarket like NYSE/NASDAQ) are going to rise and fall. Its very similar to socialpicks.com or feelingbulli...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Best data structure for performance?  
19:09 8-Mar-07   [Replies: 2, Views: 449]    By: AncientPC
A quick example outline: data: -name -age -other info problem: -find info from name -find the # oldest/youngest people -add/remove/change people (1M+) often Runtime perform...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru difference between big oh notation and theta notation  
18:15 6-Mar-07   [Replies: 5, Views: 295]    By: vijayant
Hi, Can anyone explain the difference between O(1) and theta (1) ? I am confused. Mauvais ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
CodeGuru Why does the indexes i and j never equal when partition routine finish?  
16:57 4-Mar-07   [Replies: 1, Views: 186]    By: nadavvin
The function finish when i is not smaller than j, so why is never end when i=j? ...
[Tags: No tags defined yet] -
Be the first to Tag this thread

<<First  <Previous  5  6  7  8  9  [10]  11  12  13  14  15  Next>      
 




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

© Pidgin Technologies Ltd. 2006