Deepest Leaves Sum

Given a root node, return the sum of all the leaf node values. A leaf node can be defined as a node where the left and right child nodes are null. Our goal is to find the sum of all leaves. To start, we need to define our root node. This data structure typically has …

Read more

Kotlin Iterations

Have you been iterating through your workday. Writing wasteful O(n) for loops, and just wishing there was a better way? Well I have good news for you! There are many ways to loop through elements in a collection using Kotlin. Traversing a collection is a very common task and sometimes we need to traverse very …

Read more

Time complexity of functions in Kotlin

Big O function examples in Kotlin

Understanding the time complexity of a function in code is the mark of a great programmer. We don’t measure the time complexity of an algorithm in actual time, but we measure the number of operations it takes to complete. We want to know how many iterations the function could potentially execute at it’s max. This …

Read more

.NET MAUI/Xamarin + Azure DevOps + App Center

To create a rapidly scaling mobile solution you will need to enable continuous delivery & continuous integration. The goal is to fully automate a build that kicks off every time a change is merged in, then ship the build to testers. Azure DevOps will trigger builds that initiate when changes a checked into a targeted …

Read more

Mechanics of Mobile Operating Systems

There are now two main operating systems that have dominated the mobile space, Android & iOS. There used to be a third, Windows but Microsoft announced it would no longer be manufacturing mobile devices in 2019. You of course know how to use your mobile device or maybe even develop applications for it, but do …

Read more

Fundamental Changes from Xamarin.Forms to .NET MAUI

In this article, you will learn about a few of the core changes from Xamarin.Forms to .NET MAUI. MAUI is the evolution of the Xamarin.Forms framework and its transformation has been nothing short of astonishing. I have noticed improved app performance, a better development experience programmatically and with the IDE, and the accessibility enhancements for …

Read more

Face detecion and manipulation in Xamarin using Azure Face service & SkiaSharp

Have you ever wondered how apps like Snapchat work? In this article you will learn how to create a Xamarin app that can detect faces and manipulate them using Azure Faces API. First thing you will need is an Azure subscription, so you can create a Face resource. The pricing for a Face resource is …

Read more

Bitwise operators in .NET

Everything your computer does can be translated into bits. Bitwise operators perform operations on binary numerals to manipulate individual bits. This can be quite useful for programmatic functions such as Bluetooth where the individual bits in a package’s header are important or controlling different functions on a chip is a requirement. These operations can also …

Read more