Category Archives: Source Code
Autocorrect with trie and edit distance in Java
Web scraping in Java – Jsoup and selenium
Find a random number NOT in array – code
Combinations of adding parentheses – code
Combinations of adding operators and parentheses
Permutation of multiple arrays and iterator – code

Permutation of multiple arrays and iterator has two tasks. First is the permutation of multiple arrays and output as an array of new combinations. The second is to implement the iterator of this new array. Permutation is an important topic in the fields of combinatorics. It is usually implemented using …
British royal succession order – code

British royal succession order is also known as the line of succession to the British throne. Under common law, the crown is inherited by a sovereign’s children or by a childless sovereign’s nearest collateral line. You can get the current British monarchy succession order here. When you are asked to …