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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
void bubbleSort(int arr[], int count); | |
void quicksort(int arr[], int left, int right); | |
void insertionSort(int arr[], int count); | |
void selectionSort(int arr[], int count); | |
void shellSort(int arr[], int count); | |
void heapSort(int arr[], int count); |
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
Localizaê é um conjunto de sistemas de software que possibilita maior facilidade na localização das pessoas dentro de | |
ambientes fechados, como galpões, edifícios, etc. Ele visa promover a acessibilidade aos diversos participantes de eventos | |
que necessitam de ajuda para se localizar dentro destes locais. |
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
const express = require('express') | |
const app = express() | |
const port = 3000 | |
app.get('/somar', (request, response) => { | |
let num1 = request.query.num1 | |
let num2 = request.query.num2 |
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
const fs = require('fs') | |
function readdirPromise(path){ | |
return new Promise((resolve, reject) => { | |
fs.readdir(path, (err, files) => { | |
if(err){ | |
reject(err) | |
}else{ | |
resolve(files) | |
} |
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
const fs = require('fs') | |
function readdirPromise(path){ | |
return new Promise((resolve, reject) => { | |
fs.readdir(path, (err, files) => { | |
if(err){ | |
reject(err) | |
}else{ | |
resolve(files) | |
} |
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
const fs = require('fs') | |
function readdirPromise(path){ | |
return new Promise((resolve, reject) => { | |
fs.readdir(path, (err, files) => { | |
if(err){ | |
reject(err) | |
}else{ | |
resolve(files) | |
} |
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
const produtos = [ | |
{ | |
id: 1, | |
preco: 10.0, | |
qtd: 2 | |
}, | |
{ | |
id: 2, | |
preco: 10.0, | |
qtd: 2 |
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
const produtos = [ | |
{ | |
nome: 'Bicicleta', | |
preco: 1200.0 | |
}, | |
{ | |
nome: 'Capacete', | |
preco: 450.0 | |
} | |
] |