## Path between 2 nodes of a graph using a smaller number of colored edges

Question : I’m trying to solve this programming problem. In short, the problem describes several bus lines as an undirected […]

## Algorithm – How to get the days in a week JS

Question : I have the following situation: I need to set the days of each week within a month, creating […]

## Percentage of equality of texts?

Question : Is there a method that lets you know the percentage of equality of two strings in Java? An […]

## Doubt about algorithms of ordering in constant time

Question : I need to solve a exercise with the following statement:    As input we have a vector of […]

## Reverse a 3-digit number in C

Question : I need to make a program that the user type a three-digit number and the program reverses that […]

## Bogosort – what is this?

Question : What exactly does the bogosort sorting algorithm do? Why do many people say that it is inefficient?      […]

## Precedence of operators with pointers

Question : Having, for example, the following instructions: int i=10, j=20; int *pti, *ptj; pti = &i; ptj = &j; […]

## Fill char array with random words [closed]

Question : I’m trying to develop an algorithm able to get a vector of strings, sort by word size in […]

## Average is not calculated

Question : I need to write a code that reads only 20 integer values, in the end add the positive […]

## Sort a multidimensional array with numeric values

Question : Let’s suppose the following situation in which I have array composed of several array with numerical values: \$array […]