Questions tagged as 'algoritmo'

8
answers

Recognize word repetitions in String

I have text within StringBuffer and I need to check and mark the words that appear more than once. At first I used a circular queue of 10 positions, because I'm interested only in words repeated in a "ray" of 10 words. It is worth noting...
asked by 06.02.2015 / 20:19
2
answers

What is a deterministic and non-deterministic algorithm?

What is a deterministic and non-deterministic algorithm? What are the characteristics of both? Is it possible to implement both in any language?    OBS: if possible, exemplify with some implementation     
asked by 08.12.2015 / 14:09
2
answers

What is an algorithm?

I'd like to know what algorithms are. I program in C, study C ++ and Python. In all the online courses I've done, I've heard of such an algorithm, but I do not know what it is.     
asked by 10.05.2015 / 12:08
2
answers

Use of Artificial Intelligence techniques to solve complex problems [closed]

In the face of the task of developing a complex application, I decided to make every time a human being interacts with the system, to record their decisions, apply weights and in the next suggestions use After some research, I saw that what I...
asked by 15.12.2015 / 20:20
1
answer

What is a Backtracking algorithm?

What is a Backtracking algorithm? What are its features? What are its advantages and disadvantages?
asked by 10.12.2015 / 18:39
2
answers

What will the new quantum computer programming logic look like?

There is a lot of talk about quantum computers with high performance and processing power. Unlike quantum bits, the qubits of quantum computers work with superposition, they can assume three distinct values: 0 or 1 or 0 and 1 simultaneously....
asked by 20.10.2015 / 18:40
4
answers

What is the iterative (non-recursive) version of the LCA (Lower Common Ancestor)

In Theory of Graphs, there is a concept called LCA Lower Ancestor - Ancestral ), where given a pair of nodes from a tree, one must find the nearest "parent" (ancestor) of these two nodes. An example tree is: IdidarecursiveJavaimplement...
asked by 27.12.2013 / 19:23
4
answers

How to determine if a number is a power of 2?

I need to develop an algorithm in VisuAlg where I enter a number and it tells me whether it is a power of 2 or not. What strategies can I use?     
asked by 01.06.2016 / 02:51
3
answers

What is and what is a checksum for?

I was reading a question here on the site and I came across the term checksum . Several other times I've seen this term being used when talking about transferring files or some important data. After all, what is and what is the purpos...
asked by 01.03.2016 / 12:01
1
answer

What is a minimum generating tree?

I have an exercise to solve and the teacher told me I had to use this method to solve it. What is minimum tree generation and how can I use it in practice?     
asked by 24.06.2014 / 04:32