score:1

let arr1 =[{
    id: 1,
    rideS: [
    {
      id: 12,
      station: {
        id: 23,
        street: "ABC"
      }
    }
  ]
},
{
id: 2,
    rideS: [
    {
      id: 13,
      station: {
        id: 24,
        street: "MMM"
      }
    }
  ]
}
]

let arr2 = [
  {
    id: 1,
    so: {
      id: 33,
      sos: [{
        id: 44,
        station: {
          id: 55,
          street: "ABC"
        }
      },
      {
        id: 74,
        station: {
          id: 11,
          street: "DDD"
        }
      }
        
        ]
    }
  },
    {
    id: 2,
    so: {
      id: 34,
      sos: [{
        id: 45,
        station: {
          id: 56,
          street: "RRR"
        }
      },
        {
        id: 51,
        station: {
          id: 66,
          street: "ZZZ"
        }
      }
        ]
    }
  },
{
    id: 3,
    so: {
      id: 35,
      sos: [{
        id: 46,
        station: {
          id: 57,
          street: "MMM"
        }
      },
        {
        id: 75,
        station: {
          id: 66,
          street: "VVV"
        }
      }
        
        ]
    }
  }
]



let streetDic = arr1.reduce((dic, o) => {   o.rideS.forEach(r => dic[r.station.street] = true); return dic; } , {})

let result = arr2.filter(o => !o.so.sos.some(s => streetDic[s.station.street]))

console.log(result);

score:1

let arr1 = [
  { id: 1, rideS: [{id: 12, station: {id: 23, street: "ABC",},},],},
  { id: 2, rideS: [{id: 13, station: {id: 24, street: "MMM",},},],},
];

let arr2 = [
  {id: 1, so: {id: 33, sos: [{id: 44,station: {id: 55,street: "ABC",},}, {id: 74, station: {id: 11, street: "DDD",},},],},},
  {id: 2, so: {id: 34,sos: [{id: 45, station: {id: 56, street: "RRR",},},{id: 51, station: {id: 66, street: "ZZZ",},},],},},
  {id: 3, so: {id: 35, sos: [{id: 46, station: {id: 57, street: "MMM",},},{id: 75, station: {id: 66, street: "VVV",},},],},},
];
    
let result = arr2.filter(o1 => o1.so.sos.every(o2 => !arr1.some(a1 => a1.rideS.some(a2 => o2.station.street === a2.station.street))))
console.log(result)

Related Query

More Query from same tag