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
pascal
html
dart
ruby
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
swift-string
c-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
c-array
swift-array
cobol
typescript-string
vbnet
php-array
javascript-array
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
nodejs-string
go-array
kotlin-array
nodejs-array
sdl2
cpp-matrix
c-matrix
cpp-array
c#-list
vbnet-list
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
string-to-title-case
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
dot-product-two-arrays
represent-boolean-true-false
different-functions-check-number-power-of-2
get-last-word-string
remove-last-word-string
Disclosure:
My content contains affiliate links.
Recent questions tagged swift
40,754
questions
53,119
answers
573
users
Recent questions tagged swift
2
answers
99
views
How to add a range of elements of an array to another array in Swift
asked
Oct 17, 2025
by
avibootz
swift
swift-array
swift-range
3
answers
87
views
How to resize an array in Swift
asked
Oct 14, 2025
by
avibootz
swift
swift-resize
swift-array
1
answer
54
views
How to calculate the Euclidean distance between two points in Swift
asked
Oct 13, 2025
by
avibootz
swift
swift-euclidean-distance
1
answer
75
views
How to group elements of an array based on their first occurrence in Swift
asked
Oct 11, 2025
by
avibootz
swift
swift-array
1
answer
68
views
How to generate a random HEX RGB color code in Swift
asked
Oct 10, 2025
by
avibootz
swift
swift-rgb
swift-random
1
answer
65
views
How to generate a random RGB color code in Swift
asked
Oct 9, 2025
by
avibootz
swift
swift-rgb
swift-random
1
answer
58
views
How to search for a number in a sorted matrix in Swift
asked
Oct 8, 2025
by
avibootz
swift
swift-matrix
1
answer
64
views
How to check whether a matrix is a square matrix in Swift
asked
Oct 7, 2025
by
avibootz
swift
swift-matrix
1
answer
70
views
How to rotate square matrix 90 degrees to the left in Swift
asked
Oct 6, 2025
by
avibootz
swift
swift-matrix
1
answer
71
views
How to calculate the median of a matrix in Swift
asked
Oct 6, 2025
by
avibootz
swift
swift-matrix
swift-median
1
answer
67
views
How to check whether an array is subset of another array in Swift
asked
Oct 5, 2025
by
avibootz
swift
swift-array
1
answer
69
views
How to find the second biggest number in a set of random numbers in Swift
asked
Oct 4, 2025
by
avibootz
swift
swift-second-biggest
1
answer
73
views
How to find a common element in all rows of a given matrix with sorted rows in Swift
asked
Oct 3, 2025
by
avibootz
swift
swift-matrix
1
answer
58
views
How to get matrix size in Swift
asked
Oct 2, 2025
by
avibootz
swift
swift-matrix
1
answer
67
views
How to count the number of sorted rows in either increasing or decreasing order in a matrix using Swift
asked
Oct 1, 2025
by
avibootz
swift
swift-matrix
1
answer
76
views
How to check whether a matrix is a magic square or not in Swift
asked
Sep 30, 2025
by
avibootz
swift
swift-matrix
2
answers
100
views
How to check whether a string can be segmented into a sequence of words from a dictionary in Swift
asked
Sep 29, 2025
by
avibootz
swift
swift-string
1
answer
76
views
How to reverse a word in a string with Swift
asked
Sep 26, 2025
by
avibootz
swift
swift-string
swift-reverse
1
answer
80
views
How to remove the first word from string in Swift
asked
Sep 25, 2025
by
avibootz
swift
swift-string
swift-remove
2
answers
95
views
How to remove the last word from a string in Swift
asked
Sep 24, 2025
by
avibootz
swift
swift-string
swift-remove-last-word-string
remove-last-word-string
1
answer
64
views
How to reverse each word in a string with Swift
asked
Sep 24, 2025
by
avibootz
swift
swift-string
swift-reverse
1
answer
89
views
How to get the median of two sorted arrays in Swift
asked
Sep 23, 2025
by
avibootz
swift
swift-median-sorted-arrays
median-sorted-arrays
1
answer
70
views
How to find the longest repeating substring in a string with Swift
asked
Sep 23, 2025
by
avibootz
swift
swift-substring
1
answer
84
views
How to find the smallest letter in a sorted array that is larger than a given letter in Swift
asked
Sep 22, 2025
by
avibootz
swift
swift-array
1
answer
63
views
How to generate a random hexadecimal string in Swift
asked
Sep 19, 2025
by
avibootz
swift
swift-hexadecimal
1
answer
70
views
How to check whether number is perfect square or not in Swift
asked
Sep 16, 2025
by
avibootz
swift
swift-square
1
answer
69
views
How to find the length of the longest consecutive zeroes in the binary representation of a number in Swift
asked
Sep 15, 2025
by
avibootz
swift
swift-binary
1
answer
73
views
How to find the two elements in an array whose sum is closest to zero in Swift
asked
Sep 13, 2025
by
avibootz
swift
swift-array
1
answer
76
views
How to check if two given words are present in a string in Swift
asked
Sep 12, 2025
by
avibootz
swift
swift-string
1
answer
59
views
How to convet decimal number base-12 number in Swift
asked
Sep 11, 2025
by
avibootz
swift
swift-base-12
1
answer
63
views
How to print the season name of the year based on the month number in Swift
asked
Sep 10, 2025
by
avibootz
swift
swift-season-month
1
answer
64
views
How to simplify path (remove ".." and "." and replace multiple “////” with one single “/”) in Swift
asked
Sep 9, 2025
by
avibootz
swift
swift-path
1
answer
99
views
How to find sum of the first N even numbers in Swift
asked
Sep 6, 2025
by
avibootz
swift
swift-sum
1
answer
62
views
How to find the maximum length of a subarray having a sum equal to K in Swift
asked
Sep 5, 2025
by
avibootz
swift
swift-subarray
1
answer
66
views
How to find the position of the first set bit (1-bit) of a number in Swift
asked
Sep 4, 2025
by
avibootz
swift
swift-bits
1
answer
82
views
How to sort an array that consists of only 0s and 1s in Swift
asked
Sep 3, 2025
by
avibootz
swift
swift-array
swift-sort
1
answer
68
views
How to sort an array of strings where each string represents a decimal number in Swift
asked
Sep 1, 2025
by
avibootz
swift
swift-array
swift-sort
1
answer
69
views
How to find the number of squares in an N*N grid with Swift
asked
Aug 31, 2025
by
avibootz
swift
swift-grid-squares
1
answer
58
views
How to calculate compound interest in Swift
asked
Aug 30, 2025
by
avibootz
swift
swift-compound-interest
1
answer
90
views
How to mirror a matrix across the main diagonal in Swift
asked
Aug 28, 2025
by
avibootz
swift
swift-matrix
2
answers
104
views
How to combine 2 maps into a third map in Swift
asked
Aug 26, 2025
by
avibootz
swift
swift-map
1
answer
78
views
How to convert dictionary values to an array in Swift
asked
Aug 24, 2025
by
avibootz
swift
swift-dictionary
swift-array
2
answers
89
views
How to create a queue, then enqueue and dequeue elements in Swift
asked
Aug 23, 2025
by
avibootz
swift
swift-queue
1
answer
92
views
How to assign a random number using a cryptographically secure random number generator in Swift
asked
Aug 21, 2025
by
avibootz
swift
swift-random
1
answer
98
views
How to find the length of the longest consecutive sequence of an unsorted array of integers in Swift
asked
Aug 19, 2025
by
avibootz
swift
swift-array
swift-consecutive-sequence
swift-sequence
1
answer
90
views
How to convert an integer to a string in base b with Swift
asked
Aug 18, 2025
by
avibootz
swift
swift-convert
2
answers
85
views
How to use XOR to encrypt and decrypt a string in Swift
asked
Aug 17, 2025
by
avibootz
swift
swift-xor
swift-encrypt
swift-decrypt
1
answer
70
views
How to implement a stack using struct in Swift
asked
Aug 16, 2025
by
avibootz
swift
swift-stack
1
answer
74
views
How to implement a stack using an array in Swift
asked
Aug 16, 2025
by
avibootz
swift
swift-stack
2
answers
115
views
How to remove a subarray from an array in Swift
asked
Aug 13, 2025
by
avibootz
swift
swift-array
swift-remove
Page:
« prev
1
2
3
4
5
6
7
8
9
...
18
next »
...