Vaibhav SinghWhy 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
Vaibhav SinghCan 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
Vaibhav SinghEasy 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
Vaibhav SinghError 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
Vaibhav SinghThe 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
Vaibhav SinghCircular 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
Vaibhav SinghA 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
Vaibhav SinghRxSwift: 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
Vaibhav SinghDon’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
Vaibhav SinghBinary 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