Given an array of n positive integers. Write a program to find the sum of maximum sum subsequence of the given array such that the integers in the subsequence are sorted in Read more →
Latest tutorials
505 postsGiven an array A[], the task is to find the number of pairs in the array in which A[i] is equal to A[j] and i<j. Examples : Input : A[] = {4,3,3,4,4,1,1} Read more →
We know that functions take arguments of valid data type.Objects are of type class which is user defined and can be used as function argument. There are two ways in which objects Read more →
Criteria : CGPA:- 7+ Branches allowed:- CSE, IT, ECE, MCA Round 1 (Online coding Round 90 min) : Deutsche Bank visited our college in September 2020. First-round was conducted on the HackerEarth Read more →
Given an array of n integers ,find the maximum length of a subsequence such that sum of elements is never less than zero at any point in the subsequence moving from left Read more →
This article comprises of technique and strategy to become a good programmer. First fix and then start : The very important part of any coding journey you take is deciding which or Read more →
Problem Statement : Given N strings as input. Each string is made up of alphanumeric characters and consists of lowercase characters [a,z] and numbers in range[1,999] (eg- “ac67rt349iu2td1yt98z” in this string the Read more →
The techniques needed to implement dynamic storage allocation depend on how storage is deallocated. If deallocation is implicit, then the run-time support package is responsible for determining when a storage block is Read more →
In this article, we are going to see how to split a string manually without using any in-built function. To split a string, we need an input string and a delimiter. A Read more →
Given a number N, the task is to find the previous perfect square and perfect cube smaller than N. Examples: Examples : Input : N = 6 Output : Perfect Square = Read more →