HackerrankPracticeProblems icon indicating copy to clipboard operation
HackerrankPracticeProblems copied to clipboard

Java: Java Sort #65

Open Rittika1234 opened this issue 2 years ago • 22 comments

Write your solution to this java problem of hackerrank :- problem link : https://www.hackerrank.com/challenges/java-sort/problem

Rittika1234 avatar Oct 01 '22 06:10 Rittika1234

Can you please assign me this issue for hacktoberfest?

Rittika1234 avatar Oct 01 '22 06:10 Rittika1234

@Rittika1234 Sorry, I cannot assign you multiple issues at a time. Please start working on the issue assigned to you. Thanks. All the best!

Riddhi9570 avatar Oct 01 '22 07:10 Riddhi9570

I have completed previous issue please assign this issue to me.

Rittika1234 avatar Oct 01 '22 09:10 Rittika1234

@Rittika1234 Please do let me know how many issues you have completed till now from this repo?

Riddhi9570 avatar Oct 01 '22 09:10 Riddhi9570

hey @Riddhi9570 can I contribute to this issue

adityjoshi avatar Oct 02 '22 06:10 adityjoshi

@adityjoshi Nice to know that you are eager for the contribution😃! Unfortunately, more than one issues cannot be assigned at a time. Please complete the previous issue. Happy Coding😃!

Riddhi9570 avatar Oct 02 '22 08:10 Riddhi9570

hey @Riddhi9570 kindly check the pull request of previous issue and kindly assign this issue to me

adityjoshi avatar Oct 02 '22 11:10 adityjoshi

I want to work on this issue under hacktoberfest. @Riddhi9570

Csrivastava003 avatar Oct 02 '22 11:10 Csrivastava003

hey @Riddhi9570 kindly assign this issue to me please

adityjoshi avatar Oct 02 '22 13:10 adityjoshi

@adityjoshi it's great that you contributed to the repo twice😃🥳. Unfortunately, I cannot assign you more than two issues for this repo for hacktoberfest. You may look into some other repos for hackrtoberfest contribution. Thanks😃!All the best!

Riddhi9570 avatar Oct 02 '22 14:10 Riddhi9570

hey @Riddhi9570 I know you have some rules but please allow me to contribute to only 2 more issues. After a lot of hard work I am able to find a repo in which I can contribute . I will feel obliged if you will allow me .

adityjoshi avatar Oct 02 '22 16:10 adityjoshi

hey @Riddhi9570 I know you have some rules but please allow me to contribute to only 2 more issues. After a lot of hard work I am able to find a repo in which I can contribute . I will feel obliged if you will allow me .

@adityjoshi In that case, I may help you out. Please connect with me in discord. I'm available as RB9570#5791

Riddhi9570 avatar Oct 02 '22 17:10 Riddhi9570

!assign

yogesh-9999 avatar Oct 02 '22 17:10 yogesh-9999

@Riddhi9570 I've already worked on two issues under hacktoberfest in this repository, assign it to someone else interested.

Csrivastava003 avatar Oct 02 '22 17:10 Csrivastava003

@Riddhi9570 sent you friend request noobstar#8797 my discord id

adityjoshi avatar Oct 02 '22 17:10 adityjoshi

@Riddhi9570 I've already worked on two issues under hacktoberfest in this repository, assign it to someone else interested.

Thanks for letting me know! All the best for hacktoberfest 👍 ! @Csrivastava003

Riddhi9570 avatar Oct 02 '22 18:10 Riddhi9570

@yogesh-9999 I've assigned you the issue and you may please go ahead! Happy Coding😃!

Riddhi9570 avatar Oct 02 '22 18:10 Riddhi9570

Hey @Riddhi9570 assign me this issued i'm also trying to contribute and finally on your repo

Mspurohit15 avatar Oct 06 '22 08:10 Mspurohit15

Hello mam can u assign me this issue. I would love to grab this opportunity.

SwaggyRajput avatar Oct 22 '22 15:10 SwaggyRajput

class FactorialExample2{
static int factorial(int n){
if (n == 0)
return 1;
else
return(n * factorial(n-1));
}
public static void main(String args[]){
int i,fact=1;
int number=4;//It is the number to calculate factorial
fact = factorial(number);
System.out.println("Factorial of "+number+" is: "+fact);
}
}

Correct the mistake in this code

Help by correcting it and resending it

Do help

Tell the mistakes in this code also

20a31a05g6 avatar Oct 24 '22 15:10 20a31a05g6

I want to work on this issue under hacktoberfest. @Riddhi9570

class FactorialExample2{
static int factorial(int n){
if (n == 0)
return 1;
else
return(n * factorial(n-1));
}
public static void main(String args[]){
int i,fact=1;
int number=4;//It is the number to calculate factorial
fact = factorial(number);
System.out.println("Factorial of "+number+" is: "+fact);
}
}

Correct the mistake in this code

Help by correcting it and resending it

Do help

Tell the mistakes in this code also

20a31a05g6 avatar Oct 24 '22 15:10 20a31a05g6

Write your solution to this java problem of hackerrank :- problem link : https://www.hackerrank.com/challenges/java-sort/problem

Please help explain line by line

class FactorialExample2{
static int factorial(int n){
if (n == 0)
return 1;
else
return(n * factorial(n-1));
}
public static void main(String args[]){
int i,fact=1;
int number=6;//It is the number to calculate factorial
fact = factorial(number);
System.out.println("Factorial of "+number+" is: "+fact);
}
}

20a31a05g6 avatar Oct 24 '22 16:10 20a31a05g6