Mackerel has helped 41022 Developers find answers to 63874 problems.
Here is a way you can thank Mackerel:
Upvote! :) Suggest improvements. Pay it forward by helping another programmer.
Mackerel's Coding Activity
Mackerel's Coding Expertise
Mon, Feb 17 2025 Yearly Coding Overview
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Mackerel's Top Languages
whatever
typescript
python
css
shell
rust
html
Mackerel's Top Frameworks
![](/images/framework_icons/django.png)
![](/images/framework_icons/unity.png)
![](/images/framework_icons/flutter.png)
Top Answers by Mackerel
- 2.415840Use a simple object with a method Mar 8 2021
- 2.2202080go convert integer to string Mar 5 2021
- 2.24920rust count occurrences of a substring Mar 14 2021
- 2.16910rust prime number check Feb 24 2021
- 2.02410go execution duration Feb 22 2021
- 1.915220rust filtering a vector example Mar 12 2021
- 1.912700C++ convert vector of digits into integer Apr 21 2021
- 1.84200rust value of pi Mar 11 2021
- 1.87510Go count occurrences of a substring May 14 2021
- 1.73584160rust hashmap Mar 6 2021
- 1.61810difference between lambda and proc Nov 18 2021
- 1.61500rust check valid email address using regex Feb 22 2021
- 1.58800C++ generate a random letter May 3 2021
- 1.524830go reverse array Mar 28 2021
- 1.4164052Javascript prime number check Feb 27 2021
- 1.435042dart reverse a string Mar 2 2021
- 1.415400rust simple search and replace regex Feb 20 2021
- 1.31100go sum of digits in an integer Apr 21 2021
- 1.239240rust replace characters Feb 21 2021
- 1.243810C++ sum the digits of an integer Apr 21 2021
- 1.23110go create multiple variables on a single line Feb 24 2021
- 1.28800C++ convert integer to digits, as vector Apr 21 2021
- 1.124730rust reverse an array Mar 9 2021
- 1.111910rust get items in a list with index and value Feb 23 2021
- 1.08800go min, minimum integer value Mar 30 2021
- 1.062430rust convert integer to string Mar 5 2021
- 0.9118551java reverse a string Mar 2 2021
- 0.94800rust read lines from stdin and return a vec Mar 12 2021
- 0.913300C count occurrences of a substring May 14 2021
- 0.92500rust convert a string (with decimals) to a floating point number. Feb 24 2021
- 0.867910go max, maximum integer value Mar 30 2021
- 0.87700rust fizzbuzz Mar 14 2021
- 0.721011c++ fizzbuzz May 3 2021
- 0.76200most frequent element in a list May 20 2023
- 0.612400rotate string in java Oct 5 2021
- 0.61300go in a string, replace multiple spaces with single space Feb 24 2021
- 0.6140740rust format string Mar 6 2021
- 0.61400stringstream stream number to string Apr 6 2021
- 0.6116610new line Nov 29 2021
- 0.613911python towers of hanoi recursive May 12 2021
- 0.560811c++ random number 0 to 1 May 11 2021
- 0.547710First non repeating character position in a string Oct 8 2021
- 0.598340rust concatenate strings Mar 14 2021
- 0.5163952split ruby Mar 17 2021
- 0.537320Find primes in numbers Oct 8 2021
- 0.5800rust in a string, replace multiple spaces with single space Feb 24 2021
- 0.4325760levenshtein distance May 23 2021
- 0.41000C++ fill string with random uppercase letters May 11 2021
- 0.410700reverse bits java Jun 2 2021
- 0.41710go convert floating point number, to a string, with decimal digits. Feb 24 2021
- 0.4106510go append array to array Mar 29 2021
- 0.41900rust filling a vector Feb 24 2021
- 0.42000Get the recursion limit May 17 2023
- 0.42100rust using regex in if statement Feb 20 2021
- 0.36300Validate the check digit of an ISBN-13 code May 31 2021
- 0.33100Go replace all occurrences of a substring with another one Mar 25 2021
- 0.323900C++ sum a vector of digits Apr 21 2021
- 0.37900C++ drop last element of list May 1 2021
- 0.331410Find primes in numbers Oct 8 2021
- 0.331810kotlin flatmap Mar 19 2021
- 0.347710Count the digits in an integer Oct 12 2021
- 0.3109320copy an array Sep 30 2021
- 0.319000Concatenate columns in table Jun 1 2021
- 0.250810sum the digits of an integer May 27 2021
- 0.2400go divmod Apr 21 2021
- 0.2400go Pause execution for several seconds Feb 24 2021
- 0.25300Project Euler #1 Multiples of 3 or 5 Apr 19 2022
- 0.280320regex to find and replace values Jun 27 2021
- 0.2500Towers of Hanoi Iterative and Recursive Oct 3 2023
- 0.2700go string to int array with space separator Mar 29 2021
- 0.26100Split text on several separators May 28 2021
- 0.273511Python reverse a string Mar 2 2021
- 0.2900Levenshtein distance recursive Jun 1 2023
- 0.212300rust char array Mar 9 2021
- 0.291520Access command line arguments Aug 23 2021
- 0.219000count matches with regex Jun 29 2021
- 0.21500go copy to array Mar 29 2021
- 0.250100number of trailing zeros in a factorial of a number. Sep 12 2021
- 0.27700rust multi-dimensional array Mar 11 2021
- 0.221600split a line on whitespace May 25 2021
- 0.251510roman numeral conversions Aug 25 2021
- 0.22200rust declare multiple mutable variables Mar 11 2021
- 0.252810Convert integer to string Apr 15 2023
- 0.29400simple example of pointers Jun 6 2021
- 0.245300Remove first and last letter of string Oct 13 2021
- 0.14200check if a string contains consecutive letters that occur only once Aug 30 2021
- 0.114000variadic parameters Jun 8 2021
- 0.15000Towers of Hanoi, Iterative and Recursive Jun 21 2022
- 0.155100number of trailing zeros in a factorial of a number. Sep 12 2021
- 0.16900Convert array to comma-separated integers Nov 4 2022
- 0.134000First non repeating character position in a string Oct 7 2021
- 0.19600ruby pass array as arguments Nov 29 2021
- 0.111200rust create multiple variables on a single line Feb 24 2021
- 0.1138910Calculate factorial Sep 26 2022
- 0.1126310Transpose a matrix May 24 2022
- 0.117000find the next smaller number with the same digits Sep 8 2021
- 0.166400levensthein distance May 24 2021
- 0.074600Ways to make a sum of squares calculation May 31 2022
- 0.0142100Longest length of palindromic sum substring Aug 16 2021
- 0.093000levenshtein distance May 24 2021
- 0.029200First non repeating character position in a string Oct 7 2021
- 0.029900Fibonacci May 17 2023
- 0.0953930rgb to hex conversion Aug 29 2021
- 0.083401reverse a string Feb 22 2021
- 0.0178700count characters in string May 21 2021
- 0.093200levenshtein distance May 24 2021
- 0.0600minimum of 3 elements May 21 2021
- 0.0700simple multithreaded hello world Jun 19 2021
- 0.02000go multi-dimensional array Mar 11 2021
- 0.0500Create and populate a 2d vector Apr 6 2022
- 0.0200javascript program name Mar 16 2021
- 0.0900How to do floating point in Bash Feb 6 2024
- 0.011300minimum and maximum numbers for various integer types Jun 12 2021
- 0.02100Javascript multiply a square matrix Mar 13 2021
- 0.01300Show operating system May 13 2023
- 0.0500Find longest sequence of zeros in binary representation of an integer. May 23 2023
- 0.014300Running sum of 1d array Jul 1 2022
- 0.02200Convert array to comma-separated integers Mar 27 2023
- 0.03200Validate the check digit of an ISBN-13 code May 31 2021
- 0.0300compiler version at runtime Jun 2 2021
- 0.0300Replacing consecutive numbers with dash between first and last in a range Sep 7 2021
- 0.0500go get items in a list Feb 23 2021
- 0.04900How to pass a string literal May 13 2022
- 0.0200simple multithreaded hello world Jun 21 2021
- 0.022000count words in string Aug 14 2021
- 0.01500rust swap two values Mar 11 2021
- 0.0900Validate French phone numbers Jan 17 2022
- 0.0400Rust mean, median, mode algorithms Mar 14 2021
- 0.0700rust program name Mar 14 2021
- 0.017600Towers of Hanoi Feb 5 2024
- 0.0400dates: add or subtract a month Jun 4 2021
- 0.03900maximum difference in list of numbers Jun 12 2021
- 0.0200Use a simple object with a method Apr 30 2023
- 0.0200execution duration Apr 5 2021
- 0.0200Rust Options Some None using for loop iteratively Feb 22 2021
- 0.03000Validate the check digit of an ISBN-13 code May 31 2021
- 0.0500Replacing consecutive numbers with dash between first and last in a range Sep 7 2021
- 0.0400Take two integers, return the quotient and remainder, divmod Sep 9 2021
- 0.0600go get items in a list Feb 23 2021
- 0.0800rust convert floating point number, to a string, with decimal digits. Feb 24 2021
- 0.0300Find the minimum product among all combinations of triplets in a list Aug 24 2021
- 0.0600Find the next smaller positive integer containing the same digits May 12 2022
- 0.014400find prime numbers with the sieve of Eratosthenes Jun 21 2022
- 0.0400minimum of 3 elements May 24 2021
- 0.03000# Create empty 2 dimensional array Nov 30 2021
- 0.02000rust multiplication table for a number Mar 13 2021
- 0.0400simple multithreaded hello world Jun 21 2021
- 0.0300rust from floating point to money Mar 13 2021
- 0.01700Find the two highest values in list Sep 4 2023
- 0.0200reverse a string with runes Sep 30 2021
- 0.01000Greatest common divisor iterative May 31 2021
- 0.0600Take two integers, return the quotient and remainder, divmod Sep 9 2021
- 0.035700Calculate factorial Apr 21 2023
- 0.02500rust array literal Feb 20 2021
- 0.0200c++ watch a variable Apr 13 2021
- 0.02300rust get items in a list Feb 23 2021
- 0.0200dart program name Mar 16 2021
- 0.0300have the function stringchallenge(str) take the str parameter being passed and return it in proper camel case format where the first letter of each word is capitalized (excluding the first letter). the string will only contain letters and some combination Jun 16 2024
- 0.0300simple multithreaded hello world Jun 19 2021
- 0.0400go count distinct elements in list Mar 9 2021
- 0.0200create, use and destroy a 2d array Jun 2 2021
- 0.0300iterative greatest common divisor GCD Jun 8 2021
- 0.0500Reverse Polish Notation (RPN) or postfic calculator Oct 9 2021
- 0.0500rust enter number from keyboard / stdin Mar 12 2021
- 0.0300rust sum and average of number list Mar 13 2021
- 0.0200Putting a number on the heap with Box Aug 13 2022
- 0.0500Cobol reverse a string Apr 6 2021
- 0.0400reverse a string with runes Feb 22 2021
- 0.01100Greatest common divisor iterative May 31 2021
- 0.0800go convert a string (with decimals) to a floating point number. Feb 24 2021
- 0.0400create, use and destroy a 2d array Jun 2 2021
- 0.0700Find unique element in array where all other elements occur 3 times, uses boolean logic Apr 12 2022
- 0.0200go cut a section from array Mar 29 2021
- 0.0200roman numerals using hashmap and struct Aug 19 2021
- -0.054602sum the digits of an integer May 27 2021
- -0.0115301Finding palindrome numbers Sep 6 2021
- -0.551902split text on multiple separators and put into a list Jun 29 2021
- -0.517401Find all the factors of an integer May 11 2023
- -0.56501go fizzbuzz May 3 2021
- -0.617301C++ prime number check Feb 21 2021
Edit Profile
@