Skip to content

Commit

Permalink
Create celebrity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
suhanigupta23 authored Dec 28, 2024
1 parent 988f9df commit 6fa6939
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions celebrity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Online Java Compiler
// Use this editor to write, compile and run your Java code online
// CELEBRITY IS ONE WHO : IS KNOWN BY ALL , BUT DO NOT KNOW ANYONE
//THIS IS CELEBRITY PROBLEM
// A SQUARE MATRIX MADE , ON LEFT TO RIGHT 0 TO X NUMBER WRITTEN , ON TOP TO BOTTOM ALSO 0 TO X NUMBER WRITTEN.
//NOW IF ROW NUMBER X KNOWS THE PEOPLE ON X' NUMBER ON THE COLUMN THEN WE WRITE 1 , IF DO NOT KNOW THEN WE WRITE 0 .
class Main {
public static void main(String[] args) {

}
}

0 comments on commit 6fa6939

Please sign in to comment.