count

JavaF

BST – Leaf Node Count

BST – Leaf Node Count: An array of N positive integers is passed as input. The program must form a binary search tree with these…
PythonF

Count of Power of X

Count of Power of X: N positive values v(i) where i = 1 to N are passed as input to the program. The program must print the count C of the…
PythonF

String Alphabet Count

String Alphabet Count: Given a string S with only alphabets, print the alphabet and it’s count as shown in the Example Input/Output…
CF

Count the Ships

Count the Ships: A sea is represented as an N*N matrix where # represents a part of a ship and – represents water. All the ships are…
PythonF

Factor Count – Integer

A number N is passed as input. The program should print the count of factors for the number N. Input Format:The first line will contain the…