title: Using find() function on vector of vector in c++
body: <p>So I was trying to check whether a vector exists in a vector of vector or not, using the find() function but leetcode editor is showing compilation error</p>
  <pre><code>#include &lt;iostream&gt;
  #include &lt;vector&gt;
  #include &lt;algorithm&gt;
  
  int main()
  {
     std::vector&lt;std::vector&lt;int&gt;&gt; res{{1, 2, 3}};
         if(std::find(res.begin(), res.end(), {1, -1, 0}) == res.end())
              res.push_back( {1, -1, 0} );  
  
  } 
  </code></pre>