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
#8 Swift – TDD + Delete Duplicates in Sorted List (Linked List)
Hi everyone, TDD is helpful, and now, I am going to share how we can use TDD on solving Delete Duplicates in sorted LinkedList problem! website - https://arifinfrds.com/ GitHub repository https://github.com/arifinfrds/ LeetCode: https://leetcode.com/problems/remove-duplicates-from-sorted-list/solutions/3073732/solution-using-swift-using-current-and-previous-node-pointer/ #deleteduplicatesinlinkedlist #tdd #testdrivendevelopment #swiftprogramming #dsa #datastructuresandalgorithms #arifinfrds #leetcode #leetcodesolution #programmer #softwaredeveloper #softwareengineer https://youtu.be/ymmSCNWo3NA
#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
#6 Swift – TDD + Merge Two Lists (LeetCode)
Hi everyone, I am back, and this video is about how we can use Test Driven Development to solve Merge Two Lists algorithm Problem! We can use TDD to solve very small unit of logic, then we can keep refactor our code so that it can works in integration. #tdd #testdrivendevelopment #swiftprogramming #dsa #datastructuresandalgorithms #arifinfrds … Continue reading #6 Swift – TDD + Merge Two Lists (LeetCode)
#5 Swift – TDD + Nearest Palindromic
Hi everyone, this is my very first video in 2023 and this video is about how we can use Test Driven Development to solve Nearest Palindromic algorithm Problem! We can use TDD to solve very small unit of logic, then we can keep refactor our code so that it can works in integration. #testdrivendevelopment #nearestpalindromic … Continue reading #5 Swift – TDD + Nearest Palindromic
#4 TDD + Binary Search
Hi, I am happy to share on how to use Test Driven Development on a Data Structure and Algorithm problem, in this case, Binary Search problem. Binary Search is one search of DSA problem and it is a good idea to solve that not only in raw, but also using Test Driven Development, to guarantee … Continue reading #4 TDD + Binary Search
#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
#2 TDD + Find Duplicated Character in 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. Find Duplicated Character in String is one of DSA problem and it is a good idea to solve that not only in raw, but also using Test … Continue reading #2 TDD + Find Duplicated Character in String
#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