Author: ACMer
Given a binary string s (a string consisting only of ‘0’ and ‘1’s). Return the number of substrings with all characters 1’s. Since the answer may be too large, …
Given all the nodes of an N-ary tree as an array Node tree where each node has a unique value. Find and return the root of the N-ary tree. …
The blockchain is a public database, this shouldn’t be hard to find out. In this post we know how to call the Steem API to find out the witness …
Given an array of numbers arr. A sequence of numbers is called an arithmetic progression if the difference between any two consecutive elements is the same. Return true if …
Password Authentication is not secure. Your password may be too simple to crack or acidentally may be recorded or leaked. Therefore, it is a good practice to configure the …