JAVA-32783 Split or move algorithms-miscellaneous-7 (#16317)
Co-authored-by: timis1 <noreplay@yahoo.com>
This commit is contained in:
parent
eea7bccf86
commit
e812b299bd
|
@ -10,8 +10,4 @@
|
||||||
- [Check if Two Strings Are Rotations of Each Other](https://www.baeldung.com/java-string-check-strings-rotations)
|
- [Check if Two Strings Are Rotations of Each Other](https://www.baeldung.com/java-string-check-strings-rotations)
|
||||||
- [Find the Largest Prime Under the Given Number in Java](https://www.baeldung.com/java-largest-prime-lower-threshold)
|
- [Find the Largest Prime Under the Given Number in Java](https://www.baeldung.com/java-largest-prime-lower-threshold)
|
||||||
- [Count the Number of Unique Digits in an Integer using Java](https://www.baeldung.com/java-int-count-unique-digits)
|
- [Count the Number of Unique Digits in an Integer using Java](https://www.baeldung.com/java-int-count-unique-digits)
|
||||||
- [Generate Juggler Sequence in Java](https://www.baeldung.com/java-generate-juggler-sequence)
|
|
||||||
- [Finding the Parent of a Node in a Binary Search Tree with Java](https://www.baeldung.com/java-find-parent-node-binary-search-tree)
|
|
||||||
- [Check if a Number Is a Happy Number in Java](https://www.baeldung.com/java-happy-sad-number-test)
|
|
||||||
- [Find the Largest Number Possible After Removing k Digits of a Number](https://www.baeldung.com/java-find-largest-number-remove-k-digits)
|
|
||||||
- More articles: [[<-- prev]](/algorithms-miscellaneous-6)
|
- More articles: [[<-- prev]](/algorithms-miscellaneous-6)
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
## Relevant Articles
|
|
||||||
- [Implement Connect 4 Game with Java](https://www.baeldung.com/java-connect-4-game)
|
|
|
@ -1,3 +1,9 @@
|
||||||
### Relevant Articles:
|
### Relevant Articles:
|
||||||
- [Vigenère Cipher in Java](https://www.baeldung.com/java-vigenere-cipher)
|
- [Vigenère Cipher in Java](https://www.baeldung.com/java-vigenere-cipher)
|
||||||
- [Merge Overlapping Intervals in a Java Collection](https://www.baeldung.com/java-collection-merge-overlapping-intervals)
|
- [Merge Overlapping Intervals in a Java Collection](https://www.baeldung.com/java-collection-merge-overlapping-intervals)
|
||||||
|
- [Generate Juggler Sequence in Java](https://www.baeldung.com/java-generate-juggler-sequence)
|
||||||
|
- [Finding the Parent of a Node in a Binary Search Tree with Java](https://www.baeldung.com/java-find-parent-node-binary-search-tree)
|
||||||
|
- [Check if a Number Is a Happy Number in Java](https://www.baeldung.com/java-happy-sad-number-test)
|
||||||
|
- [Find the Largest Number Possible After Removing k Digits of a Number](https://www.baeldung.com/java-find-largest-number-remove-k-digits)
|
||||||
|
- [Implement Connect 4 Game with Java](https://www.baeldung.com/java-connect-4-game)
|
||||||
|
- More articles: [[<-- prev]](/algorithms-miscellaneous-7)
|
|
@ -1,6 +1,6 @@
|
||||||
package com.baeldung.algorithms.largestNumberRemovingK;
|
package com.baeldung.algorithms.largestNumberRemovingK;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.Stack;
|
||||||
|
|
||||||
public class LargestNumberRemoveKDigits {
|
public class LargestNumberRemoveKDigits {
|
||||||
public static int findLargestNumberUsingArithmetic(int num, int k) {
|
public static int findLargestNumberUsingArithmetic(int num, int k) {
|
|
@ -5,7 +5,9 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import java.util.NoSuchElementException;
|
import java.util.NoSuchElementException;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertThrows;
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertNull;
|
||||||
|
|
||||||
class BinaryTreeParentNodeFinderUnitTest {
|
class BinaryTreeParentNodeFinderUnitTest {
|
||||||
|
|
Loading…
Reference in New Issue