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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
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 threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine