Frage im Vorstellungsgespräch bei Huawei Technologies

a simple DAG problem and a simple binary search problem