-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
amin
authored and
amin
committed
May 20, 2024
1 parent
c6ec740
commit eef57ce
Showing
15 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
subjects/java/checkpoints/almost-palindrom/ExerciseRunner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(AlmostPalindrome.isAlmostPalindrome("Racedcar")); | ||
System.out.println(AlmostPalindrome.isAlmostPalindrome("level")); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(AverageCalc.average(1,5,1)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(CountChar.count("Hello World !", ' ')); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(Digitlen.digitlen(9989898878)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(Factorial.factorial(3)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(GoodbyeMars.goodbyeMars()); | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
subjects/java/checkpoints/multiplication-table/ExerciseRunner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
MultiplicationTable.generate(5); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(NextPrime.nextPrime(3)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) throws IOException { | ||
System.out.println(Arrays.toString(ReverseArray.reverse(new Integer[]{4, 2, 1, 3}))); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) throws IOException { | ||
System.out.println(Arrays.toString(RotateArray.rotate(new Integer[]{4, 2, 1, 3}, 1))); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) throws IOException { | ||
System.out.println(Arrays.toString(SortArray.sort(new Integer[]{4, 2, 1, 3}))); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(Strlen.strlen("Hello World !")); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(SystemLog.systemLog("message")); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(UnitConverter.convert(new String[]{"celsius", "fahrenheit", "100"})); | ||
System.out.println(UnitConverter.convert(new String[]{"fahrenheit", "celsius", "212"})); | ||
System.out.println(UnitConverter.convert(new String[]{"kilometers", "miles", "5"})); | ||
System.out.println(UnitConverter.convert(new String[]{"pounds", "kilograms", "10"})); | ||
System.out.println(UnitConverter.convert(args)); | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
subjects/java/checkpoints/universal-greeting/ExerciseRunner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class ExerciseRunner { | ||
public static void main(String[] args) { | ||
System.out.println(UniversalGreeting.greeting("EN")); | ||
} | ||
} |