I am trying to make a Deterministic finite automaton which accepts those strings having two specific words(either one) anywhere as a substring. The problem is really simple if the characters of the words do not match, on the contrary if the characters of these two words match somewhere, then I don't see any way out.
For instance how can I implement a DFA which accepts those strings having $100$ or $110$ as substring anywhere?


Possible solution:
P.S.: If you need a DFA that accepts a string iff it is accepted by $A_1$ and $A_2$ you can use the intersection of DFA's.