Thursday, 18 April 2019
Check whether a given number is Automorphic number or not
›
// C program to check whether the number is automorphic or not #include<stdio.h> bool isAutomorphic(int N) { int sq = N * N; w...
Program to check if a given number is a strong number or not
›
Program to check if a given number is a strong number or not is discussed here. A strong number is a number in which the sum of the factor...
Program to Find if number is Armstrong Number or Not in C++ C
›
#include<bits/stdc++.h> using namespace std; bool isArm(int num) { int ans=0; int p=num; while(num>0) { int x=num%10...
Program to check number is Prime or Not in C++
›
#include<bits/stdc++.h> using namespace std; bool isPrime(int num) { int p=num; if(num%2==0) return 0; for(int i=3;i*i...
LCM of Two Number Program in C++
›
// LCM of two number is a*b divided by gcd/hcf of two number #include<bits/stdc++.h> #include<stdio.h> using namespace std; ...
Program to Calculate GCD or HCF of Two Numbers in C++ (No STL)
›
// mail me @ mujtaba.aamir1@gmail.com for c++,python notes for free..... #include<bits/stdc++.h> #include<stdio.h> using nam...
String to Char Array and Char Array to String Conversion in C++ Simple Approch
›
#include<bits/stdc++.h> #include<stdio.h> using namespace std; int main() { char s[]="stringwith-hyphen"; int...
Sunday, 25 November 2018
Count All Increasing Sub Sequences GeeksForGeeks Python Program
›
for _ in range(int(input())): n=int(input()); l=list(map(int,input().split())); lz=[0]*10; for i in range(len(l)): ...
Monday, 19 November 2018
Water Jug Problem in Artificial intelligence Simple Approch
›
Water Jug Problem: Problem: You are given two jugs, a 4-gallon one and a 3-gallon one.Neither has any measuring mark on it.There is...
Thursday, 15 November 2018
Longest Increasing Sub Sequences with Dynamic Programming in Python | C++ | C
›
# Author Mohd Mujtaba @ Play with C Plus def LIS(l): n=len(l); l1=[1]*n; for i in range(n): for j in range(0,i): ...
Monday, 8 October 2018
Insertion, Deletion ,Searching at First ,Last , At Given Position in Linked List Implementation in C++
›
#include<bits/stdc++.h> using namespace std; struct node { node *link; int data; }*start=NULL; // INSERTION INTO LINKED LIST...
Thursday, 27 September 2018
Array Rotation Implementation in C++ and C
›
#include<bits/stdc++.h> using namespace std; void rotate(int a[],int n) { int j; for(int i=0;i<6;i++) { int b=a[0]; ...
Friday, 6 July 2018
Library Management System in Python Complete Program
›
# CANSOLE BASED PROJECT import os; import time; #************************************ WELCOME SCREEN ********************************** ...
›
Home
View web version