# exercises \ sequence-diagram

Post A Question

Classifications:

Popular Categories:

###### Write a C++ program to check whether the sequence of the numbers in a given array is a "Arithmetic" or "Geometric" sequence. Return -1 if the sequenc is not "Arithmetic" or "Geometric". 1 answers 120 Views 0 Likes
###### Given two strings, you have to find the shortest common super sequence between them and print the length of the super sequence 1 answers 165 Views 0 Likes
###### Given an array you have to print the longest bitonic subsequence from the array. A bitonic sequence is a sequence where numbers of that sequence are sorted and they are increasing first then decreasing 1 answers 133 Views 0 Likes
###### Given a square matrix of size n x n, find the sum of the Zigzag sequence with the largest sum. A zigzag sequence starts from the top and ends at the bottom. Two consecutive elements of sequence cannot belong to the same column 1 answers 97 Views 0 Likes
###### Draw a sequence diagram for this usecase diagram 0 answers 317 Views 0 Likes
###### Python Program to Print the Fibonacci sequence 1 answers 105 Views 0 Likes
###### Given an array of n integers. Find the minimum number of elements from the array to remove or delete so that when the remaining elements are placed in the same sequence order form a sorted sequence 1 answers 129 Views 0 Likes
###### Given a sequence A of size N, find the length of the longest increasing subsequence from the given sequence 1 answers 133 Views 0 Likes
###### Given an array of n integers. Find the minimum number of elements from the array to remove or delete so that when the remaining elements are placed in the same sequence order form a sorted sequence 1 answers 121 Views 0 Likes
###### Given a sequence A of size N, find the length of the longest increasing subsequence from the given sequence 1 answers 110 Views 0 Likes
###### Given an array of n integers. Find the minimum number of elements from the array to remove or delete so that when the remaining elements are placed in the same sequence order form a sorted sequence 1 answers 105 Views 0 Likes
###### Given a sequence of numbers you have to print the longest alternating subsequence. A sequence is an alternating sequence when it will be maintaining like, (increasing) -> ( decreasing ) -> (increasing ) -> (decreasing) or (decreasing) -> (increasing) -> (decreasing) -> (increasing) 1 answers 110 Views 0 Likes