Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
java
c
c#
cpp
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
html
pascal
dart
ruby
r
css
bootstrap
groovy
sql
win32
mysql
winapi
jquery
lua
winforms
bash
pascal-string
f#
opengl
kotlin-string
swift-string
go-string
c-string
cpp-string
vbnet-string
scala-string
c#-string
pascal-array
cobol
rust-string
php-string
java-string
javascript-string
python-string
php-array
cpp-vector
swift-array
typescript-string
reactjs
c-array
javascript-array
c-windows
typescript-array
python-list
rust-vector
scala-array
go-array
nodejs-array
sdl2
nodejs-string
kotlin-array
nodejs-express
cpp-array
sdl3
angularjs
c#-list
vbnet-list
java-array
c#-array
raylib
glfw
vbnet-array
javascript-regex
cpp-matrix
typescript-regex
freeglut
html5
nodejs-regex
php-regex
cpp-regex
glew
c#-matrix
go-slice
c-matrix
swift-regex
kotlin-regex
scala-regex
go-regex
python-regex
kotlin-list
perl
swift-matrix
pascal-matrix
scala-list
java-list
Disclosure:
My content contains affiliate links.
Recent questions tagged SWIFT
38,119
questions
49,726
answers
573
users
Recent questions tagged SWIFT
1
answer
4
views
How to generate a random hexadecimal string in Swift
asked
11 hours
ago
by
avibootz
swift
swift-hexadecimal
1
answer
4
views
How to check whether number is perfect square or not in Swift
asked
3 days
ago
by
avibootz
swift
swift-square
1
answer
6
views
How to find the length of the longest consecutive zeroes in the binary representation of a number in Swift
asked
4 days
ago
by
avibootz
swift
swift-binary
1
answer
8
views
How to find the two elements in an array whose sum is closest to zero in Swift
asked
6 days
ago
by
avibootz
swift
swift-array
1
answer
6
views
How to check if two given words are present in a string in Swift
asked
Sep 12
by
avibootz
swift
swift-string
1
answer
8
views
How to convet decimal number base-12 number in Swift
asked
Sep 11
by
avibootz
swift
swift-base-12
1
answer
8
views
How to print the season name of the year based on the month number in Swift
asked
Sep 10
by
avibootz
swift
swift-season-month
1
answer
5
views
How to simplify path (remove ".." and "." and replace multiple “////” with one single “/”) in Swift
asked
Sep 9
by
avibootz
swift
swift-path
1
answer
19
views
How to find sum of the first N even numbers in Swift
asked
Sep 6
by
avibootz
swift
swift-sum
1
answer
7
views
How to find the maximum length of a subarray having a sum equal to K in Swift
asked
Sep 5
by
avibootz
swift
swift-subarray
1
answer
15
views
How to find the position of the first set bit (1-bit) of a number in Swift
asked
Sep 4
by
avibootz
swift
swift-bits
1
answer
12
views
How to sort an array that consists of only 0s and 1s in Swift
asked
Sep 3
by
avibootz
swift
swift-array
swift-sort
1
answer
22
views
How to sort an array of strings where each string represents a decimal number in Swift
asked
Sep 1
by
avibootz
swift
swift-array
swift-sort
1
answer
17
views
How to find the number of squares in an N*N grid with Swift
asked
Aug 31
by
avibootz
swift
swift-grid-squares
1
answer
15
views
How to calculate compound interest in Swift
asked
Aug 30
by
avibootz
swift
swift-compound-interest
1
answer
16
views
How to mirror a matrix across the main diagonal in Swift
asked
Aug 28
by
avibootz
swift
swift-matrix
2
answers
16
views
How to combine 2 maps into a third map in Swift
asked
Aug 26
by
avibootz
swift
swift-map
1
answer
17
views
How to convert dictionary values to an array in Swift
asked
Aug 24
by
avibootz
swift
swift-dictionary
swift-array
2
answers
21
views
How to create a queue, then enqueue and dequeue elements in Swift
asked
Aug 23
by
avibootz
swift
swift-queue
1
answer
20
views
How to assign a random number using a cryptographically secure random number generator in Swift
asked
Aug 21
by
avibootz
swift
swift-random
1
answer
23
views
How to find the length of the longest consecutive sequence of an unsorted array of integers in Swift
asked
Aug 19
by
avibootz
swift
swift-array
swift-consecutive-sequence
swift-sequence
1
answer
25
views
How to convert an integer to a string in base b with Swift
asked
Aug 18
by
avibootz
swift
swift-convert
2
answers
18
views
How to use XOR to encrypt and decrypt a string in Swift
asked
Aug 17
by
avibootz
swift
swift-xor
swift-encrypt
swift-decrypt
1
answer
21
views
How to implement a stack using struct in Swift
asked
Aug 16
by
avibootz
swift
swift-stack
1
answer
19
views
How to implement a stack using an array in Swift
asked
Aug 16
by
avibootz
swift
swift-stack
2
answers
22
views
How to remove a subarray from an array in Swift
asked
Aug 13
by
avibootz
swift
swift-array
swift-remove
2
answers
17
views
How to sort the part of an array in Swift
asked
Aug 13
by
avibootz
swift
swift-array
swift-sort
1
answer
28
views
How to create a dictionary with key type point (x, y) and value type string in Swift
asked
Aug 10
by
avibootz
swift
swift-dictionary
1
answer
22
views
How to check if a string is a palindrome ignoring case and non-alphanumeric characters in Swift
asked
Aug 10
by
avibootz
swift
swift-palindrome
1
answer
20
views
How to sum the proper divisors of a number in Swift
asked
Aug 9
by
avibootz
swift
swift-proper-divisors
3
answers
27
views
How to filter a dictionary in Swift
asked
Aug 8
by
avibootz
swift
swift-dictionary
swift-filter
1
answer
21
views
How to filter elements from a set based on a condition in Swift
asked
Aug 6
by
avibootz
swift
swift-set
1
answer
22
views
How to remove multiple elements from a set in Swift
asked
Aug 6
by
avibootz
swift
swift-set
1
answer
17
views
How to check if an element is removed from a set in Swift
asked
Aug 6
by
avibootz
swift
swift-set
1
answer
20
views
How to remove an element from a set in Swift
asked
Aug 6
by
avibootz
swift
swift-set
2
answers
24
views
How to pick a random index from an array in Swift
asked
Aug 5
by
avibootz
swift
swift-array
2
answers
28
views
How to remove duplicate elements from a dictionary in Swift
asked
Aug 5
by
avibootz
swift
swift-dictionary
1
answer
21
views
How to remove nil (null) from a dictionary in Swift
asked
Aug 5
by
avibootz
swift
swift-dictionary
1
answer
27
views
How to replace elements in a dictionary in Swift
asked
Aug 5
by
avibootz
swift
swift-dictionary
2
answers
26
views
How to add elements to a dictionary in Swift
asked
Aug 5
by
avibootz
swift
swift-dictionary
2
answers
23
views
How to insert an element in a set with Swift
asked
Aug 5
by
avibootz
swift
swift-set
1
answer
30
views
How to convert binary digits to a byte array in Swift
asked
Aug 5
by
avibootz
swift
swift-binary
swift-byte-array
1
answer
25
views
How to check if floating point is NaN in Swift
asked
Aug 4
by
avibootz
swift
swift-nan
swift-floating-point
1
answer
28
views
How to calculate power for large numbers in Swift
asked
Aug 2
by
avibootz
swift
swift-power
1
answer
21
views
How to sum the digits of the number 2^N in Swift
asked
Aug 2
by
avibootz
swift
swift-power-digits-sum
1
answer
24
views
How to declare a function argument that can accept any type in Swift
asked
Aug 1
by
avibootz
swift
swift-argument
1
answer
29
views
How to get the lower 8 bits of an int in Swift
asked
Jul 31
by
avibootz
swift
swift-bits
1
answer
21
views
How to set specific bits in a char with Swift
asked
Jul 31
by
avibootz
swift
swift-bits
1
answer
29
views
How to find the prime factors of a number in Swift
asked
Jul 29
by
avibootz
swift
swift-prime
1
answer
31
views
How to extract a float from a string in Swift
asked
Jul 29
by
avibootz
swift
swift-string
swift-extract
Page:
1
2
3
4
5
6
...
14
next »
...