Leetcode 204: Count Primes - Swift Programming Language

preview_player
Показать описание
Today we're tackling another Leetcode question, Leetcode 204: Count Primes. Check out this video to find out how we used Swift programming language to calculate how many prime numbers are there in a given range.

Timestamp:
0:00 Introduction to question
2:21 Strategy to solve the question
3:50 Coding out solution

There are many good Youtube videos that covers Leetcode solutions which are primarily in Java and Python programming language. However, there are some that are Swift enthusiast or Apple platform developers that may not be entirely familiar with those languages like Java, Python, C++ and etc. My hope is to grow this channel, EverythingSwift to bridge that gap.

If you find these sort of videos helpful, please feel free to subscribe. Appreciate it lot! Thank you!

#softwareengineer #iosprogramming #leetcode #leetcodequestions #leetcodesolution #apple #appledeveloper #interview #softwareengineering #iosengineer #swift #swiftdeveloper #swiftdevelopment #softwareengineer #iosdeveloper
Рекомендации по теме
Комментарии
Автор

Thank you for this video, i understand that we are starting the array of prime numbers at number 2, but i don't not understand the while loop, or the Array(repeating: true, ). Can you explain this solution in writing ?

wensmusic
welcome to shbcf.ru