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
#3 TDD + Palindrome Checker
Hi, I am happy to share on how to use Test Driven Development on a Data Structure and Algorithm problem, in this case, Palindrome Checker problem. Palindrome Checker in String is one of DSA problem and it is a good idea to solve that not only in raw, but also using Test Driven Development, to … Continue reading #3 TDD + Palindrome Checker
#1 Test Driven Development Reverse a String
Hi, I am happy to share on how to use Test Driven Development on a Data Structure and Algorithm problem, in this case, to Reverse a String problem. Reverse a String is one of DSA problem and it is a good idea to solve that not only in raw, but also using Test Driven Development, … Continue reading #1 Test Driven Development Reverse a String