similar Number

/*

Refer https://sel2in.com/news/prog/icyHot

Your target function:

Given three ints, d1, d2 and d3, first two in the range 0..10 and the third in range 10..99, return true if either first or second digit, is used in third.

(digit d1 or d2 appears in third number d3),

such as the 1, 2 in 12. Or 4, 9, 54)

(Note: division, e.g. n/10, gives the left digit while the % "mod" n%10 gives the right digit.)

similarNumb(1, 2, 23) -> true

similarNumb(1, 2, 43) -> false */

public boolean similarNumb(int d1, int d2, int d3) {
/// first write test cases

//don’t change signature of this function

}

/*

Add main method ->

testCases (think of edge test cases besides the 3 I have given) ->

test Helper functions, then implement above target function all same class , as in IcyHot

Unit test with tests and test helper in same class. Follow same pattern and order.

*/

// Use Java

//First add test cases, then test helper and last try to solve the target function

//Copy this to a new Class with appropriate name.

//Can copy parts of IcyHot to new class or type everything.