August 5, 2024
algorithms, BASH, c / c++, c #, C/C++, C# (CSharp), Go, Go Programming, Hashing, java, Java, javascript, Node.Js, php, PHP, programming languages, Python, Rust
A simple yet effective hash function for strings is the well-known “djb2” algorithm by Daniel J. Bernstein. It is simple to implement and has good performance characteristics for many …
In Rust programming, Cargo is a package manager and build system. It’s used for managing your Rust project’s dependencies, building your project, and managing its distribution. Cargo relies on …
I was trying to test the ChatGPT’s coding skills, thus I prompted it: “Solve the leetcode 704 using Rust”. This is a Binary Search Problem, see the following problem …
December 9, 2020
algorithms, BASH, bash script, c / c++, c #, C/C++, C# (CSharp), Java, java, javascript, Node.Js, php, PHP, programming languages, python, Python, Rust, string, VBScript, vbscript
You are given a lowercase alphabet string text. Return a new string where every character in text is mapped to its reverse in the alphabet, so that a becomes …