Why UITableView cells can’t have a custom init?When it comes to custom tableView cells there are 2 ways to init them:Nov 10, 2022Nov 10, 2022
Can enums with associated values have raw values?In this article, let's look at how enums with associated values can be provided raw value as well!Oct 18, 2022Oct 18, 2022
Easy Guide to RxDataSources!In this article, I’m planning to cover a brief introduction to RxDataSources, a framework available from the RxSwiftCommunity GitHub…Jan 14, 2022Jan 14, 2022
Error Handling with RxSwiftIn this article, I’m planning to cover the two primary ways of error handing in RxSwift, error recovery using retries, and returning a…Jan 11, 2022Jan 11, 2022
The Array cheatsheet!You read a DSA problem and you know certain patterns it might fit in, you examine it more closely and zero in on the pattern you think will…Nov 28, 2021Nov 28, 2021
Circular arrays — The chicken or the egg debate!Dealing with problems involving circular arrays can get pretty tricky, in this article I’ll cover a few different strategies to handle…Nov 28, 2021Nov 28, 2021
A swifty heap implementation: how structs are more performant than classes!A while back, none of my heap-based solutions written in swift were being accepted on leetcode. I tried a few things to try to optimize the…Oct 30, 2021Oct 30, 2021
RxSwift: Finite and Infinite ObservablesIn this article, I am planning to cover a brief introduction to observables and their creation in RxSwift.Oct 23, 2021Oct 23, 2021
Don’t covert the swift string to an array — a solution to Longest Substring Without Repeating…A while back I was trying to solve a few DSA problems like Minimum Window Substring and Longest Substring Without Repeating Characters…Oct 7, 2021Oct 7, 2021
Binary Tree Maximum Path Sum is nothing but Maximum Subarray Sum?As the title says we can use Kadane’s algorithm used for solving the maximum subarray sum for figuring out the maximum path sum for a…Aug 22, 2021Aug 22, 2021