Fix typos in comments (#2354)
This commit is contained in:
parent
40e055b03b
commit
ed63a90289
@ -3,7 +3,7 @@ package Conversions;
|
||||
/**
|
||||
* Converting Integers into Roman Numerals
|
||||
*
|
||||
* <p>('I', 1); ('IV',4); ('V', 5); ('IV',9); ('X', 10); ('XL',40; ('L', 50); ('XC',90); ('C', 100);
|
||||
* <p>('I', 1); ('IV',4); ('V', 5); ('IX',9); ('X', 10); ('XL',40); ('L', 50); ('XC',90); ('C', 100);
|
||||
* ('D', 500); ('M', 1000);
|
||||
*/
|
||||
public class IntegerToRoman {
|
||||
|
@ -7,7 +7,7 @@ public class PalindromePrime {
|
||||
public static void main(String[] args) { // Main funtion
|
||||
Scanner in = new Scanner(System.in);
|
||||
System.out.println("Enter the quantity of First Palindromic Primes you want");
|
||||
int n = in.nextInt(); // Input of how many first pallindromic prime we want
|
||||
int n = in.nextInt(); // Input of how many first palindromic prime we want
|
||||
functioning(n); // calling function - functioning
|
||||
in.close();
|
||||
}
|
||||
|
@ -3,8 +3,8 @@ import java.util.*;
|
||||
public class WordBoggle {
|
||||
|
||||
/**
|
||||
* O(nm * 8^s + ws) time where n=width of boggle board, m=height of boggle board, s=length of
|
||||
* longest word in string array, w= length of string array, 8 is due to 8 explorable neighbours
|
||||
* O(nm * 8^s + ws) time where n = width of boggle board, m = height of boggle board, s = length of
|
||||
* longest word in string array, w = length of string array, 8 is due to 8 explorable neighbours
|
||||
* O(nm + ws) space.
|
||||
*/
|
||||
public static List<String> boggleBoard(char[][] board, String[] words) {
|
||||
|
Loading…
Reference in New Issue
Block a user