A. There may be cases where Object B interacts with Object A and vice versa. In such a scenario we are dealing with a Bidirectional Association.
Reverse The Vowels – iOS Engineering Interview Question We’ve been asked to write an algorithm that reverses vowels in any given message. Assuming we are not allowed to use any native Swift String functions, How do we write such an algorithm🤔? Here are some examplesHello World = Hollo WerldWelcome To RISING GALAXY = WAlcAmI TI […]
For this article I have decided to write a Caesar Cipher algorithm. First let me give you a brief intro to this subject. A Caesar Cipher is a basic encryption algorithm that takes all the letters of a message and encrypts them by shifting them over some fixed amount. For example a Caesar Cipher with […]
Today I wanted to challenge myself and try to write a function to determine if an integer is a power of N? For example:Input: 1Output: trueExplanation: 2^0 = 1Input: 16Output: trueExplanation: 2^4 = 16 Input: 218Output: false Even though the Swift SDK has a built in functionality to accomplish this task, I was eager to […]