Phone screen | Words intersection
10654

Date: (Jan - 2018

Following are two the documents

D1 : "Hello,I am a software engineer"
D2 : "I am mechanical engineer but I love software"

  1. input : "software engineer"
    output : true

    //if all the strings (software , engineer) in input are present in both the
    //documents

  2. input : "I love"
    output : false

    //because love is not present in first document

Comments (10)