## Number of quadrilaterals possible from the given points

Given four points (x, y) in the cartesian coordinate. Find the possible no of quadrilaterals than can be formed by joining all the four points.… Read More »

- TCS Coding Practice Question | Check Armstrong Number
- TCS Coding Practice Question | Check Odd or Even
- How to find the minimum and maximum element of a Vector using STL in C++?
- TCS Coding Practice Question | LCM of 2 Numbers
- TCS Coding Practice Question | Fibonacci Series
- TCS Coding Practice Question | HCF or GCD of 2 Numbers
- Find the longest string that can be made up of other strings from the array
- Count substrings that contain all vowels | SET 2
- TCS Coding Practice Question | Concatenate 2 Strings
- Programs for printing pyramid patterns using recursion
- Program to find the kth character after decrypting a string
- TCS Coding Practice Question | Swap two Numbers
- TCS Coding Practice Question | Prime Numbers upto N
- TCS Coding Practice Question | Checking Leap Year
- Generics in C++
- TCS Coding Practice Question | Checking Prime Number
- TCS Coding Practice Question | Greatest of 3 Numbers
- TCS Coding Practice Question | Average of 2 Numbers
- How to reverse an Array using STL in C++?
- TCS Coding Practice Question | Sum of Digits of a number
- Program to count Number of connected components in an undirected graph
- How to convert a class to another class type in C++?
- TCS Coding Practice Question | Factorial of a Number
- Maximum length of subarray such that sum of the subarray is even
- Count the number of 1's and 0's in a binary array using STL in C++ ?
- How to sort an Array in descending order using STL in C++?
- Maximum sub-tree sum in a Binary Tree such that the sub-tree is also a BST
- Clockwise Spiral Traversal of Binary Tree | Set - 2
- Program to check if an Array is Palindrome or not using STL in C++
- Remove duplicates from an unsorted array using STL in C++

Given four points (x, y) in the cartesian coordinate. Find the possible no of quadrilaterals than can be formed by joining all the four points.… Read More »

Given a number N. The task is to write a program to find the N-th term in the below series: a, b, b, c, c,… Read More »

Given three strings(without spaces). The task is to print the new string after modifying the three given string as follows: Replace all the vowels present… Read More »

Below are the steps for finding MST using Kruskal’s algorithm 1. Sort all the edges in non-decreasing order of their weight. 2. Pick the smallest… Read More »

We have discussed Prim’s algorithm and its implementation for adjacency matrix representation of graphs. As discussed in the previous post, in Prim’s algorithm, two sets… Read More »

Given a dice with m-faces. The first face of the dice contains a dot, the second one contains two dots, and so on, the m-th… Read More »

Given a number N. The task is to write a program to find the N-th term in the below series: 0, 0, 2, 1, 4,… Read More »

Given two numbers and . The task is to subtract from by using 2’s Complement method. Note: Negative numbers represented as 2’s Complement of Positive… Read More »

Given a number N. The task is to write a program to find the N-th term in the below series: 1, 1, 2, 3, 4,… Read More »

What do you think happens when you use an uninitialized primitive data type? Well you may assume that the compiler should assign your primitive type… Read More »

You are given Q queries. Each query contains an integer k and a person’s information i.e, first name, last name, age. For each query, we… Read More »

Given ‘num’ which indicates number of lines.The task is to print a trapezium pattern in num lines. Examples: Input : 4 Output : 1*2*3*4*17*18*19*20 5*6*7*14*15*16… Read More »

How to print “Hello” N times (where N is user input) without using loop or recursion or goto. Input : N, that represent the number… Read More »

The article illustrates the working of the different relational operator on the array STL. The equality comparison ( == ) is performed by comparing the… Read More »

Given a number N represented as a string The task is to print ‘Yes’ if the sum of digits is even and is divisible by… Read More »