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".
icon 1 answers
icon203 Views
icon0 Likes
Given two strings, you have to find the shortest common super sequence between them and print the length of the super sequence
icon 1 answers
icon314 Views
icon0 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
icon 1 answers
icon298 Views
icon0 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
icon 1 answers
icon236 Views
icon0 Likes
Draw a sequence diagram for this usecase diagram
icon 0 answers
icon554 Views
icon0 Likes
Python Program to Print the Fibonacci sequence
icon 1 answers
icon279 Views
icon0 Likes
Given a sequence A of size N, find the length of the longest increasing subsequence from the given sequence
icon 1 answers
icon255 Views
icon0 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
icon 1 answers
icon266 Views
icon0 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
icon 1 answers
icon307 Views
icon0 Likes
Given a sequence A of size N, find the length of the longest increasing subsequence from the given sequence
icon 1 answers
icon316 Views
icon0 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
icon 1 answers
icon270 Views
icon0 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)
icon 1 answers
icon259 Views
icon0 Likes