## Print lists in Python (4 Different Ways)

Printing a list in python can be done is following ways: Using for loop : Traverse from 0 to len(list) and print all elements of… Read More »

## Process Table and Process Control Block (PCB)

While creating a process the operating system performs several operations. To identify these process, it must identify each process, hence it assigns a process identification… Read More »

## date command in Linux with examples

date command is used to display the system date and time. date command is also used to set date and time of the system. By… Read More »

## Regression and Classification | Supervised Machine Learning

What is Regression and Classification in Machine Learning? Data scientists use many different kinds of machine learning algorithms to discover patterns in big data that… Read More »

## Print factorials of a range in right aligned format

Given two number m and n, the task is to find factorial of all number including m and n and then print below format. Examples:… Read More »

## Python | Union of two or more Lists

Union of a list means, we must take all the elements from list A and list B (there can be more than two lists) and… Read More »

## Python | Intersection of two lists

Intersection of two list means we need to take all those elements which are common to both of the initial lists and store them into… Read More »

## Python | Sort a List according to the Length of the Elements

In this program, we need to accept a list and sort it based on the length of the elements present within. Examples: Input : list… Read More »

## Find n-th term of series 1, 3, 6, 10, 15, 21…

Given a number n, find the n-th term in the series 1, 3, 6, 10, 15, 21… Examples: Input : 3 Output : 6 Input… Read More »

## Microsoft IDC Bangalore Interview | Set 153 (O365 Team)

For experienced profile Round 1: General discussion on career so far. Difference between process and thread Given a long string and a small pattern, find… Read More »

## Decision tree implementation using Python

Prerequisites: Decision Tree, DecisionTreeClassifier, sklearn, numpy, pandas Decision Tree is one of the most powerful and popular algorithm. Decision-tree algorithm falls under the category of… Read More »

## TCS Interview Experience | Set 21

Round 1: Aptitude test which consists of 30 questions . Last 2 questions are of 2 marks and as per knowledge they are very tough… Read More »

## Find the average of first N natural numbers

Write a program to find the Average of first N natural number. Examples: Input : 10 Output : 5.5 1+2+3+4+5+6+7+8+9+10 = 5.5 Input : 7… Read More »

## Find the sum of the series 1+11+111+1111+….. upto n terms

Here we are going to find the sum of the series 1 + 11 + 111 + 1111 +…..upto N terms (where N is given).… Read More »

## Command line arguments example in C

Prerequisite: Command_line_argument. The problem is to find the largest integers among three using command line argument. Notes: Command-line arguments are given after the name of… Read More »