Skip to main content

Posts

Inverse Of An Array

1. You are given a number n, representing the size of array a. 2. You are given n numbers, representing elements of array a. 3. You are required to calculate the inverse of array a. For definition and constraints check this link https://www.pepcoding.com/resources/online-java-foundation/getting-started/inverse-of-a-number/ojquestion The only difference is the range of values is from 0 to n - 1, instead of 1 to n. Input Format Input is managed for you Output Format Output is managed for you   Constraints 0 <= n < 10^7 For more constraints check this https://www.pepcoding.com/resources/online-java-foundation/getting-started/inverse-of-a-number/ojquestion The only difference is the range of values is from 0 to n - 1, instead of 1 to n Sample Input 5 4 0 2 3 1 Sample Output 1 4 2 3 0 import java.io.*; import java.util.*; public class Main{   public static void display(int[] a){     StringBuilder sb = new StringBuilder();     for(int val: a){    ...

Next Greater Element To The Right

1. You are given a number n, representing the size of array a. 2. You are given n numbers, representing elements of array a. 3. You are required to "next greater element on the right" for all elements of array 4. Input and output is handled for you. "Next greater element on the right" of an element x is defined as the first element to right of x having value greater than x. Note: If an element does not have any element on it's right side greater than it, consider -1 as it's "next greater element on right" e.g. for the array [2 5 9 3 1 12 6 8 7] Next greater for 2 is 5 Next greater for 5 is 9 Next greater for 9 is 12 Next greater for 3 is 12 Next greater for 1 is 12 Next greater for 12 is -1 Next greater for 6 is 8 Next greater for 8 is -1 Next greater for 7 is -1 Input Format Input is managed for you Output Format Output is managed for you Constraints 0 <= n < 10^5 -10^9 <= a[i] <= 10^9 Sample Input 5 5 3 8 -2 7 Sample Output 8 8 -1...

Inviting Online Applications for Joint Entrance Examination (Main) – 2022 | JEE Mains 2022

Jee Mains 2022 application forms for Session 1 have been released and eligible students can apply at the earliest. The application window is available from  01.03.2022 to 31.03.2022 (up to 05.00 P.M  ). ~ Image from Internet Important: JEE Mains Session 1 dates - 16, 17, 18, 19, 20 and 21 April 2022 The schedule for Session 1 and 2 for JEE Mains 2022 has been released by NTA on the official website:  https://jeemain.nta.nic.in/  What are Dates? ~ Image from Internet As per the official notice, the dates for examination under two sessions are as follows: Session 1 (April 2022)  16, 17, 18, 19, 20 and 21 April 2022  Session 2 (May 2022)    24, 25, 26, 27, 28 and 29 May 2022 The registration window is currently accessible till the 31st of the month.  ~ Image from Internet What NTA has changed for this year's JEE Mains?  Only 2 attempts Earlier 4 attempts were allowed in Mains exams Not Mandatory to appear in both exams  No corr...

Admit Card Released | Gate 2022

The Graduate Aptitude Test in Engineering (GATE) is an examination that primarily tests the comprehensive understanding of various undergraduate subjects in engineering and science for admission into the Master's Program and Recruitment by some Public Sector Companies. GATE 2022 is conducted by the Indian Institute of Technology Kharagpur and six other Indian Institutes of Technology at Mumbai, Delhi, Guwahati, Kanpur, Chennai, Roorkee & Indian Institute of Science at Bengaluru on behalf of the National Coordination Board – GATE, The Department of Higher Education, Ministry of Education (MoE), Government of India.  Admit card download available from January 15, 2022. Candidates MUST be aware of fake information (videos, email, SMS, etc.) related to GATE 2022 Examination.  Candidates are requested to check for the latest announcements only on this website ( https://gate.iitkgp.ac.in ).

Exceptions to Eligibility | Jee Advance 2022

The Joint Admission Board of JEE (Advanced) in the first JAB meeting held on December 14, 2021, deliberated on the numerous representations received regarding the eligibility criteria and was of the view that the exceptional circumstances and hardships faced due to the COVID-19 pandemic required some relaxation to be given. These relaxations are special one-time measures only. The following exceptions to the general eligibility criteria were accordingly deliberated and approved. One-time measure for those who first appeared in class 12th (or equivalent) examination in 2020/2021 AND successfully registered for JEE (Advanced) 2021 but did NOT appear      Candidates who appeared in class 12th (or equivalent) examination for the first time in 2020 OR 2021 AND successfully registered for JEE (Advanced) 2021 but were absent in BOTH the papers, i.e., Paper 1 and Paper 2, of JEE (Advanced) 2021, are eligible to directly appear for JEE (Advanced) 2022 and do not need to fulfill Cr...

Register or Sign In for COVAXIN Vaccination | Latest

Exclusive:   Vaccination Registration for 15+ Open. Now!! Co-WIN application is the digital backbone for the vaccination drive in India. With the scaling up of vaccination; the number of vaccination facilities and sessions has to be increased and managed effectively. The CO-WIN application will facilitate the citizen with an option to register and schedule the vaccination session online in the Centers of their choice. The Citizen self-registration module will ensure fool-proof identification of deserving candidates for receiving the vaccines. The Co-WIN application facilitates multiple role creations for orchestrating vaccination drives at various levels. The objective of the document is to handhold the citizens to register and schedule an appointment for vaccination. Follow these steps: Users can go to the URL www.cowin.gov.in and click on the “Register/Sign In yourself” tab Enter valid mobile number. Click on the “Get OTP” button. OTP is sent to the...