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
function solution(board, word) { | |
let count = 0; | |
for (let i = 0; i < board.length; i++) { | |
for (let j = 0; j < board[i].length; j++) { | |
const matches = { | |
h: [], |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<title>Mini App</title> | |
<style> |
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
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.*; | |
public class Polygon extends JFrame { | |
public Polygon() { | |
setSize(400, 500); | |
setLayout(null); | |
setVisible(true); | |
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); | |
setTitle("Drawing Polygons"); |
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
import chai from 'chai'; | |
import chaihttp from 'chai-http'; | |
import app from '../app'; | |
chai.should(); | |
chai.use(chaihttp); | |
describe ('TEST GET ARTICLES', () => { | |
it ('should get Articles', (done) => { | |
chai.request(app).get('/api/v1/articles').then((res => { |