Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update noble integer #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Aug 3, 2020

  1. update noble integer

    Earlier solution was not working for test cases like {-4, -2, 0, -1, -6} which has 0 as max value and also nos greater than 0 are 0. But after sorting when the loop iterates, it may sometimes skip 0 when the digit after array is 0( as A[i]==A[i+1] continue , skips this 0 ). You may check this on interviewbit.
    anujnegi341 authored Aug 3, 2020
    Configuration menu
    Copy the full SHA
    eefe477 View commit details
    Browse the repository at this point in the history