Fix typos (#2457)
This commit is contained in:
parent
a352a4905e
commit
374938c3f8
@ -51,10 +51,10 @@ public class OctalToHexadecimal {
|
||||
// Take octal number as input from user in a string
|
||||
String oct = input.next();
|
||||
|
||||
// Pass the octal number to function and get converted deciaml form
|
||||
// Pass the octal number to function and get converted decimal form
|
||||
int decimal = octToDec(oct);
|
||||
|
||||
// Pass the decimla number to function and get converted Hex form of the number
|
||||
// Pass the decimal number to function and get converted Hex form of the number
|
||||
String hex = decimalToHex(decimal);
|
||||
System.out.println("The Hexadecimal equivalant is: " + hex);
|
||||
input.close();
|
||||
|
@ -9,7 +9,7 @@ package DynamicProgramming;
|
||||
**/
|
||||
|
||||
/**
|
||||
* For calculation Time and Space Complexity. Let N be length of src and M be length of pat
|
||||
* For calculation of Time and Space Complexity. Let N be length of src and M be length of pat
|
||||
**/
|
||||
|
||||
public class RegexMatching {
|
||||
@ -168,4 +168,4 @@ public class RegexMatching {
|
||||
|
||||
}
|
||||
// Memoization vs Tabulation : https://www.geeksforgeeks.org/tabulation-vs-memoization/
|
||||
// Question Link : https://practice.geeksforgeeks.org/problems/wildcard-pattern-matching/1
|
||||
// Question Link : https://practice.geeksforgeeks.org/problems/wildcard-pattern-matching/1
|
||||
|
@ -44,7 +44,7 @@ public class BitonicSort {
|
||||
// sort in descending order since dir here is 0
|
||||
bitonicSort(a, low + k, k, 0);
|
||||
|
||||
// Will merge wole sequence in ascending order
|
||||
// Will merge whole sequence in ascending order
|
||||
// since dir=1.
|
||||
bitonicMerge(a, low, cnt, dir);
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ package Sorts;
|
||||
import static Sorts.SortUtils.*;
|
||||
|
||||
/**
|
||||
* Implementation of gnome sort
|
||||
* Implementation of pancake sort
|
||||
*
|
||||
* @author Podshivalov Nikita (https://github.com/nikitap492)
|
||||
* @since 2018-04-10
|
||||
|
Loading…
Reference in New Issue
Block a user