All articles under - swift
Solving Euler-005 in Swift
Know your algorithms…
Double loops are slower in Swift than in Python & Typescript
Swift is pathetically slow to handle double loops…
Timing code execution in Swift, Python & Typescript
How to track execution time of a code block…
Largest palindrome made from the product of two 3-digit numbers
Solution to Project Euler 004 problem in Swift, Python & Typescript…
Largest prime factor of the number 600851475143
Solution to Project Euler 003 problem in Swift, Python & Typescript…
Sum of even valued Fibonacci numbers less than 4 million
Solution to Project Euler 002 problem in Swift, Python & Typescript…
Find the sum of all the multiples of 3 or 5 below 1000
Solution to Project Euler 001 problem in Swift, Python & Typescript…
My solutions to Project Euler problems
My solutions to Project Euler problems…
Export sqlite data to text files using Swift
Export sqlite data to text files using Swift…
Swift Challenge 009: Count upper and lower case letters in a string
Write a program to count upper and lower case letters in a given string.…
swift Challenge 008: Check if a string is a pangram
Write a program to check if the string entered by the user is a pangrams. Pangrams are sentences constructed by using every letter of the alphabet at least once.…
swift Challenge 007: Luhn's Algorithm
Validate credit card number with Luhn's algorithm…
Swift Challenge 006: Stringify even numbers
Take an array of numbers, concatenate the even numbers as a string…
Swift Challenge 005: Sort comma separated words
Write a program that takes a comma separated sequence of words and prints the words in a comma-separated sequence after sorting them alphabetically.…
Swift Challenge 004: Factorial of n
Write a program to compute factorial of a number.…
Swift Challenge 003: Unique elements of two arrays
Write a program to make an array of unique elements from two arrays. Sort the output array.…
Swift Challenge 002: Check if a string is palindrome
Check if a string is a palindrome -- it reads the same forwards as backwards like racecar…
Swift Challenges
Interesting swift challenges…
Swift Challenge 001: Divisible by 7 but not a multiple of 5
Program to find all numbers which are divisible by 7 but are not a multiple of 5, between 2000 and 3200…