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
icon162 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
icon228 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
icon191 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
icon156 Views
icon0 Likes
Draw a sequence diagram for this usecase diagram
icon 0 answers
icon433 Views
icon0 Likes
Python Program to Print the Fibonacci sequence
icon 1 answers
icon179 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
icon218 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
icon218 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
icon188 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
icon173 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
icon176 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
icon178 Views
icon0 Likes