diff --git a/questions/05423-hard-intersection/README.md b/questions/05423-hard-intersection/README.md index b44cc4c31..8013ffc02 100644 --- a/questions/05423-hard-intersection/README.md +++ b/questions/05423-hard-intersection/README.md @@ -1,6 +1,6 @@

Intersection hard #union #array

by Pineapple @Pineapple0919

Take the Challenge

-Implement the type version of Lodash.intersection, but there is a little different, Intersection takes an Array T containing several arrays or any type element that includes the union type, returns a new array containing all incoming array intersection elements. +Implement the type version of Lodash.intersection with a little difference. Intersection takes an Array T containing several arrays or any type element including the union type, and returns a new union containing all intersection elements. ```ts type Res = Intersection<[[1, 2], [2, 3], [2, 2]]>; // expected to be 2