Intro to database(Extract names from gmail.com account)
Question 35: Consider a database table, Emails , which has the attributes First Name and Email ID . Given rows of data simulating the Emails …
Lorem Ipsum has been the industry's standard dummy text.
Question 35: Consider a database table, Emails , which has the attributes First Name and Email ID . Given rows of data simulating the Emails …
##Collision Of two balls In C Graphics #include<graphics.h> #include<stdio.h> #include<conio.h> #include<stdlib.h> #include&l…
Lucas Theorem (nCr % p) Time Complexity: O(n*r) def ncrmodp(n,r,p): # Optimized way if(r>n-r): r=n-r ncr=[] for i in range(n+1): ncr…
//Miller-Rabin (Primality Test) import random def power(x,n): if(n==0): return 1 elif(n%2==0): return (power(x,n//2…
Flood Fill Function In C Programming C Graphics First approach #include<stdio.h> #include<conio.h> #include<graphics.h> int main()…
Find Power of number in Log(n) Time complexity # Naive way Time complexity is O(n) def power(x,n): if(n==0): return 1 elif(n%2==0): retur…
Chinese remainder theorem def inv(a,m): a=a%m for i in range(1,m): if((a*i)%m==1): return i def funcMax(num,rem): prod=1 for i in num:…
Task is a shoe shop owner. His shop has number of shoes. He has a list containing the size of each shoe he has in his shop. There are number of …