Given an array A of strings made only from lowercase letters, return a list of all characters that show up in all strings within the list (including duplicates). For …
Given a tree, rearrange the tree in in-order so that the leftmost node in the tree is now the root of the tree, and every node has no left …
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library function such as …
Many industries and companies want their websites to be top on Google, and when these happen, it is considered to be an achievement. It is not easy to appear …
If a port has been pocessed by a process/application/program, you cannot listen to it. Usually, an exception of “Address in Use – cannot bind” will be thrown. That is, …
In a binary tree, the root node is at depth 0, and children of each depth k node are at depth k+1. Two nodes of a binary tree are …