Skip to content

Commit ed63a90

Browse files
authored
Fix typos in comments (TheAlgorithms#2354)
1 parent 40e055b commit ed63a90

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Conversions/IntegerToRoman.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Converting Integers into Roman Numerals
55
*
6-
* <p>('I', 1); ('IV',4); ('V', 5); ('IV',9); ('X', 10); ('XL',40; ('L', 50); ('XC',90); ('C', 100);
6+
* <p>('I', 1); ('IV',4); ('V', 5); ('IX',9); ('X', 10); ('XL',40); ('L', 50); ('XC',90); ('C', 100);
77
* ('D', 500); ('M', 1000);
88
*/
99
public class IntegerToRoman {

Misc/PalindromePrime.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class PalindromePrime {
77
public static void main(String[] args) { // Main funtion
88
Scanner in = new Scanner(System.in);
99
System.out.println("Enter the quantity of First Palindromic Primes you want");
10-
int n = in.nextInt(); // Input of how many first pallindromic prime we want
10+
int n = in.nextInt(); // Input of how many first palindromic prime we want
1111
functioning(n); // calling function - functioning
1212
in.close();
1313
}

Misc/WordBoggle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
public class WordBoggle {
44

55
/**
6-
* O(nm * 8^s + ws) time where n=width of boggle board, m=height of boggle board, s=length of
7-
* longest word in string array, w= length of string array, 8 is due to 8 explorable neighbours
6+
* O(nm * 8^s + ws) time where n = width of boggle board, m = height of boggle board, s = length of
7+
* longest word in string array, w = length of string array, 8 is due to 8 explorable neighbours
88
* O(nm + ws) space.
99
*/
1010
public static List<String> boggleBoard(char[][] board, String[] words) {

0 commit comments

Comments
 (0)