Count Zeros in a Sorted Matrix | GFG Solution | Searching and Sorting

Sdílet
Vložit
  • čas přidán 8. 06. 2021
  • Please consume this content on nados.pepcoding.com for a richer experience. It is necessary to solve the questions while watching videos, nados.pepcoding.com enables that.
    NADOS also enables doubt support, career opportunities and contests besides free of charge content for learning. Question Statement:
    Given a Binary Square Matrix where each row and column of the matrix is sorted in ascending order. Find the total number of Zeros present in the matrix.
    Topic: #BinarySearch #GFG #SearchingAndSorting
    Used #DataStructure: #Array
    #TimeComplexity: O(N)
    #SpaceComplexity: O(1)
    ----------------------------------------------------------------
    For detailed information and other exercises, VISIT: www.pepcoding.com
    Have a look at our result: www.pepcoding.com/placements​
    Follow us on our FB page: / pepcoding​
    Follow us on Instagram: / pepcoding​
    Follow us on LinkedIn: / pepcoding-education
    ----------------------------------------------------------------
    #Array #leetcode #GFG #SearchingAndSorting #BinarySearch
    For a better experience and more exercises, VISIT: www.pepcoding.com/resources/
    Have a look at our result: www.pepcoding.com/placements
    Follow us on our CZcams page: / pepcoding
    Follow us on our FB page: / pepcoding
    Follow us on Instagram: / pepcoding
    Follow us on LinkedIn: / pepcoding-education
    Follow us on Pinterest: / _created
    Follow us on Twitter: home
    .
    .
    .
    Happy Programming !!! Pep it up 😍🤩
    .
    .
    .
    #pepcoding #code #coder #codinglife #programming #coding #java #freeresources #datastrucutres #pepcode #competitive #competitiveprogramming #softwareengineer #engineering #engineer

Komentáře • 8

  • @anshulkumar7871
    @anshulkumar7871 Před rokem +2

    Thank you very much. So well explained.

  • @pranavkorhale5089
    @pranavkorhale5089 Před 3 lety

    done ...got it..

    • @Pepcoding
      @Pepcoding  Před 3 lety

      Thank you and If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

  • @codersclub9107
    @codersclub9107 Před 3 lety +1

    Please upload a solution video of beautiful matrix please and thanks for this awesome content 👍👍🤩🤩

    • @Pepcoding
      @Pepcoding  Před 3 lety

      Thankyou
      I am glad you liked it. I hope that you are watching till the end and trying to understand what, how, and especially why of the problem.
      If you like our efforts, will you like to write a few words about us here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

  • @janvimyadventures1310
    @janvimyadventures1310 Před 3 lety

    How o(n) is possible when we input 2-d array we use two for loops and time complexity becomes o(n^2)

  • @shubamgoswami
    @shubamgoswami Před 2 lety

    Done

    • @Pepcoding
      @Pepcoding  Před 2 lety

      For better experience, visit nados.io, where you will get well curated content and career opportunities.