Category: string
June 23, 2021
algorithms, BASH, bash script, Combination, math, Permutation, programming languages, Recursion, recursive, string
Swap Two Characters in BASH In BASH, we can use “${#string}” to get the length of a string. And in a function, we use “local” keyword to declare local …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given two lowercase alphabet strings s and t, both of them the same length. You can pick one …
Let’s program a commline line tool using GoLang. And we take the first parameter and perform a full permutation on it – then it outputs each permutation line by …
You are given two strings word1 and word2. Merge the strings by adding letters in alternating order, starting with word1. If a string is longer than the other, append …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given two strings s0 and s1, return whether you can obtain s1 by removing 1 letter from s0. Constraints 0 …