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
var name = "Elon"; | |
function musk(){ | |
console.log("Hello " + name); | |
} | |
musk("Elon Musk"); // Hello Elon Musk |
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
import java.io.IOException; | |
/** | |
* Created by molayodecker on 28/11/2016. | |
* Welcome | |
* Before your interview, write a program that lets two humans play a game of Tic Tac Toe in a terminal. | |
* The program should let the players take turns to input their moves. | |
* The program should report the outcome of the game. | |
* During your interview, you will pair on adding support for a computer player to your game. | |
* You can start with random moves and make the AI smarter if you have time. | |
* |
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
/** | |
* Created by molayodecker on 28/11/2016. | |
* Welcome | |
* Before your interview, write a program that lets two humans play a game of Tic Tac Toe in a terminal. | |
* The program should let the players take turns to input their moves. | |
* The program should report the outcome of the game. | |
* During your interview, you will pair on adding support for a computer player to your game. | |
* You can start with random moves and make the AI smarter if you have time. | |
* |
NewerOlder