The “Tower of Hanoi” is a well known puzzle. There are 3 pegs with numbers 1, 2 and 3. N disks of different diameters are set on the first peg in the following order:The lower disk is set, the larger diameter it has. Your aim is to move all disks onto the second peg usingContinue reading “Tower of Hanoi Solution in Swift”
Category Archives: Mathematics
Sort The People (Leetcode)
Leetcode challenge solution using Swift.
Can my word be a Palindrome?
A palindrome is a number, sentence or word that reads the same forward and backward. Even a DNA structure can be a palindrome. It has significance in various branches of higher research. Word examples: madam, bobNumerical examples: 101, 191Date & Time examples: 12:21, 11/11/1111, 12/12/2121Sentence example: Rats live on no evil star Although mostly numbersContinue reading “Can my word be a Palindrome?”
Euler’s Number e : A Dart (Flutter) Implementation
Dart (Flutter) program to calculate the Euler’s Number, ‘e’
