#9 Swift – TDD + Find Pivot Index

This time, let's solve another Leetcode problem, Find Pivot Index, using Test Driven Development! In this video, I will show you how we can solve this problem starting from O(n^2) to more optimize O(n) time complexity, using Test Driven Development as our main development strategy. https://youtu.be/BaEixzVqZtU GitHub repository https://github.com/arifinfrds/ LeetCode: https://leetcode.com/problems/find-pivot-index/description/ https://leetcode.com/problems/find-pivot-index/solutions/3271745/swift-o-n-and-o-n-2-solution/ #findpivotindex #tdd #testdrivendevelopment … Continue reading #9 Swift – TDD + Find Pivot Index

#7 Swift – TDD + Valid Anagram

Hi everyone, I am back, and this video is about how we can use Test Driven Development to solve Valid Anagram algorithm Problem! Refactoring is part of TDD, and it is changing code without changing the behavior, and TDD can help us to achieve that. GitHub repository https://github.com/arifinfrds/ LeetCode: https://leetcode.com/problems/valid-a... https://leetcode.com/problems/valid-a... #validanagram#tdd #testdrivendevelopment #swiftprogramming #dsa … Continue reading #7 Swift – TDD + Valid Anagram