Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO
3.36K subscribers
1.13K photos
3 videos
17 files
373 links
Main channel https://t.me/Coding_000
Contact Admin 👉 @ILOVEU_143 for booking your exam slots
Web- https://coding000.github.io/Projects/
💯% clearance in any placement exams
OffCampus -https://t.me/Offcampus_000
Discussion- https://t.me/exams_discussion
Download Telegram
Guy's,

Do you want TATA STEEL
Answers For Free

Should we post all answers for free in this group??

If you want free answers
Hit Like 👍 Button


share @Coding_000❤️
👍29
Tata steel exam help available

Electrical domain and cse domain slots  are available❤️

Contact:
@iloveu_143❤️

For slot booking 👍

💯 Clearance👨‍💻
👍3
After exam everyone is leaving 😒😒😒😒

Now tell me guys shall I post free answers or not 😒😒😒😒
👍10
Tata steel exam help available

Electrical domain and cse domain slots  are available❤️

Contact:
@iloveu_143❤️

For slot booking 👍

💯 Clearance👨‍💻
👍1
Street light code
Parents code
Coding marathon
Zombie code
Documents code
Social network code and
All others are available
Alll test cases passed already

Pay and get
If u need code @ILOVEU_143❤️
👍2
Share our channel screenshot in large groups

For coding answers 🏃🏃🏃🏃
package john;


import java.util.Scanner;


public class John {


   
    public static void main(String[] args) {
       Scanner scan = new Scanner(System.in);
 
  int N = scan.nextInt();
  int X = scan.nextInt();
 
  int Parent[] = new int[N];
 
  int sub[] = new int[N];
 
  int c = 0;
 
  for(int i=0; i<N; ++i)
  {
   Parent[i] =scan.nextInt();
  
   if(Parent[i] != -1)
    ++sub[Parent[i]];
  }
 
  for(int i=0; i<N; ++i)
  {
   if(sub[i] >= X)
    ++c;
  }
 
  System.out.println(c);
}
   
   
}


Java
Parents Code
👍3🔥1