This file contains hidden or 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
| function hasAllUniqueCharacter(characters) { | |
| const cleanCharacters = characters.replace(/ /g, ""); | |
| return new Set(cleanCharacters).size === cleanCharacters.length; | |
| } | |
| function hasAllUniqueCharactersBonus(characters) { | |
| const cleanCharacters = characters.replace(/ /g, ""); | |
| for (let i = 0; i < cleanCharacters.length; i++) { | |
| for (let j = 0; j < i; j++) { | |
| if (cleanCharacters[i] === cleanCharacters[j]) { |
This file contains hidden or 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
| from random import randrange | |
| import os | |
| hangman_draws = [''' | |
| +---+ | |
| | | | |
| | | |
| | | |
| | | |
| | |
This file contains hidden or 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
| <template> | |
| <div style="background-color: white"> | |
| <nav> | |
| <a | |
| @click="currentTab = 'audience'" | |
| :class="currentTab === 'audience' && '.start-audience'" | |
| >Audience</a | |
| > | |
| <a | |
| @click="currentTab = 'post'" |
This file contains hidden or 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> | |
| void Burbuja(int *array, int n) { | |
| int x,y,tmp; | |
| for(x = 1; x < n; x++) { | |
| for(y = 0; y < n - x; y++) { | |
| if(array[y] > array[y + 1]) { | |
| tmp = array[y]; | |
| array[y] = array[y + 1]; | |
| array[y + 1] = tmp; |
This file contains hidden or 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<iostream> | |
| #include<iomanip> | |
| #include<cstdlib> | |
| using namespace std; | |
| void llenar_matriz(char c[10][10]); | |
| void jugador(int a, int b, char c[10][10], char d); | |
| void mostrar_matriz(char c[10][10]); | |
| void Mostrar_arreglo(int v[], int n); | |
| void Detectar(char d[10][10], char c, int q[]); |