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
// Calculating intersection between two unsorted | |
// arrays with proper code writting guidelines | |
// Example | |
// Input: | |
// 2 1 10 11 12 13 14 4 5 67 7 | |
// 23 71 10 11 12 13 14 34 57 267 79 | |
// Output: | |
// Intersected Array: [ 10, 11, 12, 13, 14 ] |
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 React from 'react'; | |
import emojiTree from 'emoji-tree'; | |
const cureEmoji = props => { | |
let textChuck = ''; | |
let formattedText = []; |