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
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
vbnet
jquery
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
cobol
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
swift-array
typescript-string
c-array
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
cpp-array
c#-list
vbnet-list
c-matrix
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
measure-function-execution-time
sort-words-string
exabyte-constant
petabyte-constant
terabyte-constant
math-functions-constants
string-to-title-case
create-infinite-loop
rust-matrix
Disclosure:
My content contains affiliate links.
Recent questions tagged JAVASCRIPT
41,427
questions
53,974
answers
573
users
Recent questions tagged JAVASCRIPT
1
answer
3
views
How to calculate % change from X to Y in JavaScript
asked
12 hours
ago
by
avibootz
javascript
javascript-calculate-percent-change-from-x-to-y
calculate-percent-change-from-x-to-y
1
answer
5
views
How to calculate the number of days until Christmas from today in JavaScript
asked
1 day
ago
by
avibootz
javascript
javascript-calculate-days-until-christmas
calculate-days-until-christmas
1
answer
18
views
How to print every month in a specified year that contains five full weekends (Fri, Sat, Sun) in JavaScript
asked
3 days
ago
by
avibootz
javascript
javascript-every-month-in-specified-year-contains-five-full-weekends
every-month-in-specified-year-contains-five-full-weekends
1
answer
22
views
How to implement matrix multiplication in JavaScript
asked
4 days
ago
by
avibootz
javascript
javascript-implement-matrix-multiplication
implement-matrix-multiplication
1
answer
25
views
How to find the dates of the last Sunday of each month of a given year in JavaScript
asked
5 days
ago
by
avibootz
javascript
javascript-dates-of-last-sunday-each-month-given-year
dates-of-last-sunday-each-month-given-year
1
answer
22
views
How to find the dates of the last Fridays of each month of a given year in JavaScript
asked
6 days
ago
by
avibootz
javascript
javascript-dates-of-last-fridays-each-month-given-year
dates-of-last-fridays-each-month-given-year
1
answer
24
views
How to find keyword matching between multiple text blocks in JavaScript
asked
May 22
by
avibootz
javascript
javascript-find-keyword-matching-between-multiple-text-blocks
find-keyword-matching-between-multiple-text-blocks
1
answer
23
views
How to format a date using different formats in JavaScript
asked
May 20
by
avibootz
javascript
javascript-format-date-different-formats
format-date-different-formats
1
answer
27
views
How to convert seconds into weeks, days, hours, minutes, and seconds in JavaScript
asked
May 20
by
avibootz
javascript
javascript-seconds-into-weeks-days-hours-minutes-seconds
seconds-into-weeks-days-hours-minutes-seconds
1
answer
21
views
How to sort a list of files by name, extension, dates, and size in JavaScript
asked
May 17
by
avibootz
javascript
javascript-sort-list-files-by-name-extension-dates-size
sort-list-files-by-name-extension-dates-size
1
answer
33
views
How to create a list of random file names, including extension, dates, and file size in JavaScript
asked
May 16
by
avibootz
javascript
javascript-file
javascript-list-random-file-names-extension-dates-size
list-random-file-names-extension-dates-size
1
answer
27
views
How to create a list of random dates in JavaScript
asked
May 15
by
avibootz
javascript
javascript-create-list-random-dates
create-list-random-dates
1
answer
29
views
How to compress and decompress repeated string characters by storing the repeated length (RLE) in JavaScript
asked
May 14
by
avibootz
javascript
javascript-compress-decompress-repeated-string-characters
compress-decompress-repeated-string-characters
1
answer
21
views
How to calculate the 100th term of the sequence 8, 64, 80, 136, 152 in JavaScript
asked
May 12
by
avibootz
javascript
javascript-calculate-100th-term-of-sequence-8-64-80-136-152
calculate-100th-term-of-sequence-8-64-80-136-152
1
answer
24
views
How to convert an array of multi‑digit numbers to a number in JavaScript
asked
May 11
by
avibootz
javascript
javascript-array-multi-digit-numbers-to-number
array-multi-digit-numbers-to-number
1
answer
32
views
How to get accurate ticks from a timer (high‑resolution timer) in JavaScript
asked
May 9
by
avibootz
javascript
javascript-accurate-ticks-timer
accurate-ticks-timer
1
answer
33
views
How to create a sorted unique list from a matrix in JavaScript
asked
May 7
by
avibootz
javascript
javascript-sorted-unique-array-from-matrix
sorted-unique-array-from-matrix
1
answer
29
views
How to create a common sorted unique array from 3 integer arrays in JavaScript
asked
May 6
by
avibootz
javascript
javascript-common-sorted-unique-array-from-arrays
common-sorted-unique-array-from-arrays
1
answer
33
views
How to convert an integer into its written‑out English words in JavaScript
asked
May 5
by
avibootz
javascript
javascript-convert-integer-english-words
convert-integer-english-words
1
answer
22
views
How to calculate all the less than 500 additive prime numbers in JavaScript
asked
May 4
by
avibootz
javascript
javascript-calculate-additive-prime
calculate-additive-prime
1
answer
33
views
How to define a terabyte constant in JavaScript
asked
May 3
by
avibootz
javascript
javascript-terabyte-constant
terabyte-constant
1
answer
29
views
How to define an exabyte constant in JavaScript
asked
May 3
by
avibootz
javascript
javascript-exabyte-constant
exabyte-constant
1
answer
34
views
How to define a petabyte constant in JavaScript
asked
May 3
by
avibootz
javascript
javascript-petabyte-constant
petabyte-constant
2
answers
39
views
How to hash a string with SHA-256 in JavaScript
asked
May 1
by
avibootz
javascript
javascript-hash-string-sha-256
hash-string-sha-256
1
answer
36
views
How to use math functions and constants in JavaScript
asked
Apr 30
by
avibootz
javascript
javascript-math-functions-constants
math-functions-constants
5
answers
55
views
How to create a function with an optional parameter in JavaScript
asked
Apr 29
by
avibootz
javascript
javascript-function-optional-parameter
function-optional-parameter
2
answers
58
views
How to decode Leet Speak (where numbers resemble letters (7->T, 1->I, 5->S, 3 -> E)) in JavaScript
asked
Apr 27
by
avibootz
javascript
javascript-decode-leet-speak
decode-leet-speak
1
answer
39
views
How to reconstruct a full sparse matrix from a compact (triplet) matrix in JavaScript
asked
Apr 26
by
avibootz
javascript
javascript-reconstruct-sparse-matrix-from-compact-triplet-matrix
reconstruct-sparse-matrix-from-compact-triplet-matrix
2
answers
42
views
How to express a decimal number as a fixed-length string with leading zeros in JavaScript
asked
Apr 26
by
avibootz
javascript
javascript-decimal-number-to-string-leading-zeros
decimal-number-to-string-leading-zeros
1
answer
45
views
How to create an enumeration of constants with and without explicit values in JavaScript
asked
Apr 25
by
avibootz
javascript
javascript-create-enumeration-with-without-values
create-enumeration-with-without-values
1
answer
32
views
How to compact a sparse matrix in JavaScript
asked
Apr 24
by
avibootz
javascript
javascript-compact-sparse-matrix
compact-sparse-matrix
1
answer
39
views
How to search for a word in a grid of characters with JavaScript
asked
Apr 23
by
avibootz
javascript
javascript-search
javascript-grid
javascript-search-word-grid-characters
search-word-grid-characters
1
answer
36
views
How to localize date format in JavaScript
asked
Apr 19
by
avibootz
javascript
javascript-localize-date-format
localize-date-format
1
answer
44
views
How to get the number of days needed to wait after a day (a[i]) gets warmer given an array of temperatures in JavaScript
asked
Apr 18
by
avibootz
javascript
javascript-daily-temperatures-days-wait-gets-warmer
daily-temperatures-days-wait-gets-warmer
1
answer
44
views
How to check if a string is title case in JavaScript
asked
Apr 17
by
avibootz
javascript
javascript-check-string-title-case
check-string-title-case
10
answers
79
views
How to copy a string in JavaScript
asked
Apr 16
by
avibootz
javascript
javascript-copy-string
copy-string
1
answer
40
views
How to represent the Boolean "true" and "false" in JavaScript
asked
Apr 14
by
avibootz
javascript
javascript-represent-boolean-true-false
represent-boolean-true-false
1
answer
44
views
How to print all possible permutations (all possible orderings) of the words in JavaScript
asked
Apr 14
by
avibootz
javascript
javascript-all-possible-permutations-words
all-possible-permutations-words
1
answer
43
views
How to calculate relative past time from a given date & time (e.g., 3 hours ago, 5 days ago, a month ago) in JavaScript
asked
Apr 13
by
avibootz
javascript
javascript-calculate-relative-past-time-date-time
calculate-relative-past-time-date-time
1
answer
42
views
How to add a new interval into a sorted array of non‑overlapping intervals in JavaScript
asked
Apr 9
by
avibootz
javascript
javascript-add-interval-into-sorted-array-non-overlapping-intervals
add-interval-into-sorted-array-non-overlapping-intervals
1
answer
34
views
How to print text diagonally from left to right recursively in JavaScript
asked
Apr 8
by
avibootz
javascript
javascript-print-text-diagonally-from-left-to-right-recursively
print-text-diagonally-from-left-to-right-recursively
1
answer
38
views
How to detect whether any intervals overlap in a list of start and end times with JavaScript
asked
Apr 8
by
avibootz
javascript
javascript-detect-intervals-overlap-list-start-end-times
detect-intervals-overlap-list-start-end-times
1
answer
44
views
How to print text diagonally from left to right in JavaScript
asked
Apr 8
by
avibootz
javascript
javascript-print-text-diagonally-from-left-to-right
print-text-diagonally-from-left-to-right
1
answer
46
views
How to find the k biggest values from an array in JavaScript
asked
Apr 6
by
avibootz
javascript
javascript-k-biggest-values-array
k-biggest-values-array
1
answer
45
views
How to find the maximum value we can achieve by picking k elements from an array in JavaScript
asked
Apr 6
by
avibootz
javascript
javascript-maximum-value-k-elements-array
maximum-value-k-elements-array
1
answer
44
views
How to check whether only 2 bits in a number at a specific position are on (edge‑case‑safe) with JavaScript
asked
Apr 3
by
avibootz
javascript
javascript-check-2-number-bits-specific-position-on-edge-case-safe
check-2-number-bits-specific-position-on-edge-case-safe
1
answer
40
views
How to write 4 different functions that check if a number is a power of 2 in JavaScript
asked
Apr 2
by
avibootz
javascript
javascript-different-functions-check-number-power-of-2
different-functions-check-number-power-of-2
1
answer
47
views
How to write 6 different functions that accept 5 or 7 and return the other number, without using if,switch in JavaScript
asked
Apr 1
by
avibootz
javascript
javascript-different-functions-accept-5-7-return-other-number
different-functions-accept-5-7-return-other-number
1
answer
38
views
How to copy bits from M into N (numbers) between bit positions i and j (edge‑case‑safe) in JavaScript
asked
Mar 30
by
avibootz
javascript
javascript-bits
javascript-copy-bits-m-into-n-between-positions-edge-case-safe
copy-bits-m-into-n-between-positions-edge-case-safe
1
answer
41
views
How to get the word before the last word from a string (edge‑case‑safe) in JavaScript
asked
Mar 29
by
avibootz
javascript
javascript-string
javascript-get-word-before-last-string-edge-case-safe
get-word-before-last-string-edge-case-safe
Page:
1
2
3
4
5
6
...
76
next »
...