This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
// ********** LEIA COM ATENÇÃO AS INSTRUÇÕES ********** | |
//CRIAR UM PROJETO COM O NOME BUSCASEQUENCIALBINARIA_RAALUNO onde | |
//RAALUNO é o RA do proprietário do exercício!! | |
package buscasequencialbinaria_ra.aluno; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
// ********** LEIA COM ATENÇÃO AS INSTRUÇÕES ********** | |
//CRIAR UM PROJETO COM O NOME BubbleInsertion_RAALUNO onde |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
// ********** LEIA COM ATENÇÃO AS INSTRUÇÕES ********** | |
//CRIAR UM PROJETO COM O NOME SelectionMerge_RAALUNO onde | |
//RAALUNO é o RA do proprietário do exercício!! | |
package SelectionMerge_RAALUNO.aluno; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package filaestatica; | |
/** | |
* | |
* @author Prof. Marvin Ferreira |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package digitos; | |
/** | |
* | |
* @author Marvin Ferreira |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Recursividade { | |
public static void main(String[] args){ | |
} | |
public static int fatorialRecursivo(int num) { | |
/** | |
* Este é o caso base, se o número passado por parametro for 0 ou 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package filaestatica; | |
/** | |
* | |
* @author Prof. Marvin Ferreira |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Lista { | |
private static class No{ | |
public No prox; // próximo nó na lista | |
public int valor; // elemento (valor) armazenado na lista | |
public No (int val){ //construtor do nó da lista | |
valor = val; prox = null; | |
} | |
} |