# Questions tagged as 'algoritmo'

2

## How do I check if there is a special character or number in a string in C?

I'm confused in logic to see if you have other characters than alphabetic characters. I thought the following logic, but I think it is wrong: char nome[30]; scanf("%s", nome); int especial = 0; for(i=0; i<strlen(nome); i++{ if(!(nome[i] &...
2

## Location of a point within the range of an arc

I'm looking for a Javascript function that returns a random value within a range in the area of a circle. The interval would be along the radius with distances equivalent to the center point and the radius endpoint, also considering a range of d...
1

## Sort structures because the representation is done in matrix?

Studying ordering methods, I realized that even the method receiving a vector, its graphical representation of how a method works and how it is explained in many materials is by using an array. As in the example below: (reference) . D...
1

## Algorithm to find common word sequence

I'm looking for a logic where I can find in an exorbitant amount of data, phrases that are common. Sentence in this context is a sequence of words. For example in these sentences: I'm traveling to Orlando from the South I really wante...
1

## How does a virtual keyboard work for security purposes?

I know you have several posts here citing the pros / cons of virtual keyboards to avoid keyloggers , but I did not see any that went deeper into that specific point:    How do these virtual type keyboards work? Where, instead   If you enter...
1

## C menu that moves with the arrow keys?

I once saw an algorithm in C where in the menu selection had a "mini navigation" if I can call it that way, where I used the arrow keys to navigate the menu and enter to select the option, I was curious to know how do that, can someone show? Tha...
1

## How can I calculate the font size of tags in a tag cloud?

I have a tag cloud and want to change the font size of each tag as per its usage. I need to have a minimum size and a maximum size. What would be the formula for calculating the size of the tags?
1

## How to implement the algorithm of the Theory of the six degrees of separation?

What is it? Theory that, in the world, it takes at most six bonds of friendship so that two people are connected. Question: I have been trying to implement this algorithm for some time, but I can not imagine how I would make the links...
2