Algorithms: Squares of a Sorted Array in Swift

Image of the solution for Squares of a Sorted Array in Swift

Hello, my comrades, Leo here. The day has come and we are solving the Squares of a Sorted Array in Swift. We’ll continue the algorithm series by solving a classic Two Pointer technique. So let’s go to the problem.   The problem You have a list of sorted integers and you want to create a […]

Safe Get a Value From an Array in Swift

Hello people, Leo here. The topic today is how to Safe get a value from an array in Swift. Why this is important? Well, if you don’t have a mechanism to safe get values from your arrays, one day your app can crash in production because you didn’t cover all the edge cases for your […]