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
icon197 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
icon302 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
icon285 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
icon224 Views
icon0 Likes
Draw a sequence diagram for this usecase diagram
icon 0 answers
icon530 Views
icon0 Likes
Python Program to Print the Fibonacci sequence
icon 1 answers
icon267 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
icon241 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
icon254 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
icon295 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
icon295 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
icon258 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
icon243 Views
icon0 Likes