-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ambujraj/master
Update Repo
- Loading branch information
Showing
67 changed files
with
2,276 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,48 @@ | ||
|
||
|
||
Name: [Aditya Agarwal](https://github.com/aditya81070)<br/> | ||
Place: Jaipur, Rajasthan<br/> | ||
About: I am 3rd year computer science student at Jecrc foundation, Jaipur. I am a front end developer.<br/> | ||
About: I am 3rd year computer science student at Jecrc foundation, Jaipur. I am a front end developer.<br/> | ||
Programming Languages: C, C++, Python, Javascript <br/> | ||
|
||
|
||
Name: [piyush Bafna](https://github.com/piba941)<br/> | ||
Place: Belgaum, Karnataka<br/> | ||
About: I am 2nd year CS student <br/> | ||
Programming Languages: C, C++ <br/> | ||
Email:piyushBafna051@gmail.com | ||
|
||
|
||
Name: [Abhishek Kansal](https://github.com/abhishall)<br/> | ||
Place: Delhi<br/> | ||
About: I am pursuing MCA at University of Delhi<br/> | ||
Programming Languages: Java, Python, C++<br/> | ||
Email: [email protected] | ||
|
||
|
||
Name: Jillian Keenan | ||
Place: Belfast, N.Ireland | ||
About: I'm a final year computing science student. | ||
Programming Languages: Java, C#, Javascript | ||
Email: [email protected] | ||
|
||
|
||
|
||
Name: [Aditya Agrawal](https://github.com/silly-soul)<br/> | ||
Place: New Delhi, Delhi<br/> | ||
About: I am 1st year computer science student at Department of computer science, Delhi University. I am a Full stack developer.<br/> | ||
Programming Languages: C, C++, Java, Python, Javascript <br/> | ||
Email: [email protected] | ||
|
||
|
||
|
||
Name: [Antonio Neto](https://github.com/aacgn)<br/> | ||
Place: Recife, Brazil<br/> | ||
About: I am 3rd year information systems student at Federal University of Pernambuco, Recife. I am a test engineer.<br/> | ||
Programming Languages: Python and Javascript <br/> | ||
Email: [email protected] | ||
|
||
|
||
Name: [Saish Mhatre](https://github.com/lambocrypt)</br> | ||
Place: Thane</br> | ||
About: Currently learning, love to code.</br> | ||
|
@@ -31,6 +70,16 @@ Programming Language: Cpp, C, R, PHP, HTML, CSS <br/> | |
Email: [email protected] | ||
|
||
|
||
Name: [Mohit Uniyal](https://github.com/mohit2016) | ||
About: I am currently pursuing BSc (H) Computer Science from Delhi University, and i'm in final year. I have some experience in frontend development, and android app development. I have knowledge of MEAN stack. Also, I'm in the field of Machine Learning these days. | ||
Programming Language: C++, JavaScript, Java, Python<br/> | ||
Email: [email protected] | ||
|
||
Name:[Michael Loftus](https://github.com/destoer/) | ||
About: currently a student studying cs and maths | ||
Programming Language: C, C++, Rust | ||
Email: [email protected] | ||
|
||
Name: [Bernard Joseph Jean Bruno](https://github.com/theArtechnology) | ||
About: Computer Science student as an undergraduate at Université des Mascareignes, Mauritius. | ||
Programming Language: C, C++, Javascript, Python <br/> | ||
|
@@ -58,8 +107,55 @@ About: I'm a student. I love High Tech and I found hobby in programming :D <br/> | |
Programming Language: JavaScript, Python<br/> | ||
Email: [email protected] | ||
|
||
Name:[Ansh Sachdeva](https://github.com/root-ansh)<br/> | ||
Place: NewDelhi,India <br/> | ||
About : Ambitious Android Developer and Python Enthusiast. I am a 3rd year B.tech Student , and love open source.</br> | ||
Programming Language :Java, Kotlin ,Python2/3 ,C</br> | ||
Email:anshsachdevaprofessional@gmail.com </br> | ||
|
||
Name: [Joseph Lee](https://github.com/jjlee050) | ||
Place: Singapore, SG | ||
About: I am currently a NUS undergraduate Year 2 Computer Science Student. My field of interest is towards Software Engineering and Mobile App Development. | ||
Programming Language: Java, C, HTML, CSS, Kotlin | ||
Email: [email protected] | ||
Email: [email protected] | ||
|
||
|
||
Name: [Manvi Gupta](https://github.com/Manvi07)<br/> | ||
Place: Punjab, India<br/> | ||
About: I am currently studying computer science and technology in my B.Tech at IIT Mandi. I am a passionate learner and explorer.<br/> | ||
Programming Language: C++, C, python, HTML, css<br/> | ||
Email: [email protected]<br/> | ||
|
||
|
||
Name: [Praveen Kumar Saini](https://github.com/praveen-me) | ||
Place: Dharamshala, India | ||
About: I am currently learning Full Stack Development and also a Google Uadicty India Scholar. | ||
Pragramming Language : JavaScript, Python | ||
Email: [email protected] | ||
|
||
|
||
Name: [Prajjwal Jha](https://github.com/JhaPrajjwal)<br/> | ||
Place: Mandi, Himanchal Pradesh<br/> | ||
About: I am 2nd year computer science student at IIT Mandi. I love competitive ccoding.<br/> | ||
Programming Languages: C, C++, Python <br/> | ||
|
||
|
||
Name: [Sarthak Mittal](https://github.com/sam-mittal) | ||
Place: Delhi,India | ||
About: currently pursuing B.Tech in computer science from MAIT. | ||
Programming Language:c++,java,python | ||
Email: [email protected] | ||
|
||
|
||
Name: [Keshav Gupta](https://github.com/kgupta786) | ||
Place: Punjab, India | ||
About: I am currently a B.Tech Undergraduate doing CSE at Thapar Institute of Engineering and Technology.My Interests are in Android,Machine Learning, Web Development. | ||
Programming Language: Java, C, HTML, CSS, Android, Python, C++,C#,PHP | ||
Email: [email protected] | ||
|
||
|
||
Name: [John Braun](https://github.com/jhnbrn90) | ||
About: I am doing a PhD in organic chemistry and really like programming. Used Laravel to create some useful tools for our research group, amongst others a chemicals inventory, booking system and supporting information manager. | ||
Programming Language: PHP, JavaScript | ||
Email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#include <stdio.h> | ||
int main() | ||
{ | ||
int i, n, t1 = 0, t2 = 1, nextTerm; | ||
|
||
printf("Enter the number of terms: "); | ||
scanf("%d", &n); | ||
|
||
printf("Fibonacci Series: "); | ||
|
||
for (i = 1; i <= n; ++i) | ||
{ | ||
printf("%d, ", t1); | ||
nextTerm = t1 + t2; | ||
t1 = t2; | ||
t2 = nextTerm; | ||
} | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,27 @@ | ||
#include <iostream> | ||
#include<iostream> | ||
#include<cstring> | ||
using namespace std; | ||
int main() | ||
{ | ||
int n,remainder,reverse=0,originalnumber; | ||
cin>>n; | ||
originalnumber=n; | ||
while(n!=0){ | ||
remainder = n%10; | ||
reverse=reverse*10 +remainder; | ||
n/=10; | ||
} | ||
(originalnumber==reverse)?cout<<"palindrome":cout<<"not palindrome"; | ||
return 0; | ||
string str,st; | ||
int i,j,flag=1; | ||
cin>>str; | ||
int l =str.size(); | ||
for(i=0;i<l;i++) | ||
st[i]=str[i]; | ||
for(i=l-1;i>=0;i--) | ||
{ | ||
cout<<st[i]; | ||
} | ||
for(j=0,i=l-1;i>=0,j<l;i--,j++ ) | ||
if(str[j]!=st[i]) | ||
{ | ||
flag=0; | ||
} | ||
if(flag==1) | ||
{ | ||
cout<<"\npalindrome"; | ||
} | ||
else | ||
cout<<"\nnot a palindrome"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#include <stdio.h> | ||
|
||
int main() | ||
{ int arr[100005],count[100005],n,i,j,temp,k,var; | ||
scanf("%d",&n); | ||
for(i=0;i<n;i++) | ||
{ | ||
scanf("%d",&arr[i]); | ||
} | ||
scanf("%d",&k); | ||
for(j=0;j<n;j++) | ||
{ | ||
var=arr[j]; | ||
count[var]++; | ||
} | ||
for(i=0;i<100005;i++) | ||
{ | ||
if(count[i]==k) | ||
{ | ||
printf("%d",i); | ||
break; | ||
} | ||
} | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#include <stdlib.h> | ||
#include <assert.h> | ||
|
||
|
||
int factorialize(int n) { | ||
int result = 1; | ||
|
||
for(int i = 2; i <= n; i++) { | ||
result *= i; | ||
} | ||
return result; | ||
} | ||
|
||
int main() { | ||
assert(factorialize(0) == 1); | ||
assert(factorialize(5) == 120); | ||
assert(factorialize(7) == 5040); | ||
assert(factorialize(9) == 362880); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
//Fibonacci Series using Iterative Method | ||
#include <iostream> | ||
|
||
using namespace std; | ||
|
||
int main() | ||
{ | ||
int f1=1; | ||
int f2=1; | ||
int f3; | ||
int n; | ||
cout<<"Enter the terms upto which the Fibonnaci Series has to be printed\n"; | ||
cin>>n; | ||
if(n==1) | ||
{ | ||
cout<<f1; | ||
} | ||
else if(n==2) | ||
{ | ||
cout<<f1<<","<<f2; | ||
} | ||
else | ||
{ | ||
cout<<f1<<","<<f2<<","; | ||
for(int i = 3;i<=n;i++) | ||
{ | ||
f3=f1+f2; | ||
cout<<f3<","; | ||
f1=f2; | ||
f2=f3; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
fibonacci :: Int -> Int | ||
|
||
fibonacci 1 = 1 | ||
fibonacci 2 = 1 | ||
fibonacci x = fibonacci (x-1) + fibonacci (x-2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
print('Enter the number of terms: ') | ||
num = int(input()) | ||
def F(n): | ||
if n == 0: return 0 | ||
elif n == 1: return 1 | ||
else: return F(n-1)+F(n-2) | ||
|
||
alist = [] | ||
|
||
for i in range(0, num): | ||
if(i == 0): | ||
alist.append(0) | ||
elif(i == 1): | ||
alist.append(1) | ||
else: | ||
alist.append(alist[i - 1] + alist[i - 2]) | ||
|
||
print('The fibonnaci series is: ') | ||
for i in range(num): | ||
print(alist[i], end = ' ') | ||
if __name__ == '__main__': | ||
num = int(input("Enter a number: ")) | ||
print(F(num)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
def fib(n) | ||
|
||
if n == 0 | ||
return 0 | ||
end | ||
if n == 1 | ||
return 1 | ||
end | ||
|
||
if n >= 2 | ||
return fib(n-1) + (fib(n-2)) | ||
end | ||
|
||
end |
Oops, something went wrong.