Skip to content

Commit

Permalink
Merge pull request #190 from Swati-Patil20/master
Browse files Browse the repository at this point in the history
My first PR
  • Loading branch information
harshitsan authored Oct 5, 2020
2 parents 0202ec3 + ab92261 commit 6799004
Show file tree
Hide file tree
Showing 12 changed files with 431 additions and 0 deletions.
92 changes: 92 additions & 0 deletions students list/hacktoberfest-2019-master/Linear_probing.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
#include <stdio.h>
#include <stdlib.h>
#define TABLE_SIZE 10

int h[TABLE_SIZE]={NULL};

void insert()
{
int key,i,hkey,index;
printf("\nEnter the key to insert:");
scanf("%d",&key);
hkey=key%TABLE_SIZE;
for(i=0;i<TABLE_SIZE;i++)
{
index=(hkey+i)%TABLE_SIZE;
if(h[index]==NULL)
{
h[index]=key;
break;
}
}
if(i==TABLE_SIZE)
printf("\nNo more key can be inserted!");
}

void search()
{
int key,hkey,index,i;
printf("\nEnter the value to search:");
scanf("%d",&key);
hkey=key%TABLE_SIZE;
for(i=0;i<TABLE_SIZE;i++)
{
index=(hkey+i)%TABLE_SIZE;
if(h[index]==key)
{
printf("Search Found!");
break;
}

}
if(i==TABLE_SIZE)
printf("\nSearch Not Found!");
}


void display()
{
int i;
for(i=0;i<TABLE_SIZE;i++)
{
printf("\nat index %d \t value=%d",i,h[i]);
}
}


int main()
{
int choice;
while(1)
{
printf("\n\tMENU DRIVEN");
printf("\n1.Insertion");
printf("\n2.Searching");
printf("\n3.Display");
printf("\n4.EXIT");

printf("\n\nEnter the value:");
scanf("%d",&choice);

switch(choice)
{
case 1:
insert();
break;
case 2:
search();
break;
case 3:
display();
break;
case 4:
exit(0);
break;
default:
printf("\nINVALID CHOICE!");
}

}

return 0;
}
57 changes: 57 additions & 0 deletions students list/hacktoberfest-2019-master/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

## hacktoberfest-2020 :rocket:
This repository is for beginners who want to learn how to make a **Pull Request**. Enjoy :)

![poster](https://github.com/harshitsan/hacktoberfest-2019/blob/master/hacktoberfest2019.png)


# What is Hacktoberfest?
Hacktoberfest is a program by Digital Ocean and Github, where you can easily win a T-Shirt just by making 4 pull requests in the month of October to any open source projects on Github.

## Steps to follow :scroll:

### Register for Hacktoberfest
You can register from [here](https://hacktoberfest.digitalocean.com) and get achance to win goodies from hactober.

# How to Contribute :question:

:one: Fork the repository!

:two: Add your profile as **`students list/firstName_lastName_githubId.md`** and include your details!

:three: Commit the changes!

:four: Push the changes!

:five: Make a pull request.!

:six: Wait for your PR to be merged.!

:seven: Wait for your PR to be merged.! accept my pull request

:eight: Celebrate you've done your first pull request!!!!!



## Template for contributions :clipboard:

### Introduction :sunglasses:

**Your name**: Surya
**Your GitHub id**: [@harshitsan](https://github.com/harshitsan)

**Your location**: Ambala City

### About You :boy:

Anything about yourself!

___

## Ready, Steady, Go... :turtle: :rabbit2:
### Give this Project a Star :star:

If you liked working on this project, please share this project with your friends and in community as much
as you can and please star this project to help as many people in opensource to reach as you can.

:tada: :confetti_ball: :smiley: _**Happy Contributing**_ :smiley: :confetti_ball: :tada:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
54 changes: 54 additions & 0 deletions students list/hacktoberfest-2019-master/n queen.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#include<stdio.h>

#include<math.h>
int a[30],count=0;
int place(int pos) {
int i;
for (i=1;i<pos;i++) {
if((a[i]==a[pos])||((abs(a[i]-a[pos])==abs(i-pos))))
return 0;
}
return 1;
}
void print_sol(int n) {
int i,j;
count++;
printf("\n\nSolution #%d:\n",count);
for (i=1;i<=n;i++) {
for (j=1;j<=n;j++) {
if(a[i]==j)
printf("Q\t");
else
printf("*\t");
}
printf("\n");
}
}
void queen(int n) {
int k=1;
a[k]=0;
while(k!=0) {
a[k]=a[k]+1;
while((a[k]<=n)&&!place(k))
a[k]++;
if(a[k]<=n) {
if(k==n)
print_sol(n);
else {
k++;
a[k]=0;
}
}
else
k--;
}
}
void main() {
int i,n;

printf("Enter the number of Queens\n");
scanf("%d",&n);
queen(n);
printf("\nTotal solutions=%d",count);

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Introduction :sunglasses:
**Name :name_badge:**: Amit Thakur
<br>
**GitHub id :id:**: [amitthakur2013 ](https://github.com/amitthakur2013)
<br>
**place :house:** : Durgapur, India
---
**About me:**
Hey, I am Amit . I am a BackEnd developer.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## Welcome to my profile:

## Tanay Raj Singh
a high functioning geek, exploring various domains of computer science!
![hey, it's Tanay!]

#### Get-in-Touch:
- mail: [abc@tanayraj.xyz](mailto:abc@tanayraj.xyz)

#### Personal Details:
- Sex : Male
- Weight : 90 Kgs
- Height : 187 inches
- DoB : 30th january, 2000
- Age : 26 Years

#### Geeky Interests:
1. Competetive Programming
2. Front-End Web (like JS, HTML and tad bit CSS)
3. Mobile Stuff (React-Native)

## Social Media Handle:
1. Facebook (Tanay Raj)
2. GitHub (3009aksingh)
3. Instagram (aksingh_2000)

# I hope you enjoyed!
#I liked it
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
### Hey there , I'm Ankush <img src="https://media.giphy.com/media/hvRJCLFzcasrR4ia7z/giphy.gif" width="30px">

<br>
<a href="https://discord.gg/GXc8Y7p">
<img align="left" alt="Ankush's Discord" width="22px" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/discord.svg" />
</a>
<a href="https://twitter.com/AnkushC41962223">
<img align="left" alt="Ankush's Twitter | Twitter" width="22px" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/twitter.svg" />
</a>
<a href="https://www.linkedin.com/ankush-chauhan-590b5b1ab/">
<img align="left" alt="Ankush's Linkedin" width="22px" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/linkedin.svg" />
</a>
<a href="https://www.youtube.com/channel/UC9upzF9wBH5CGvf8dSIp-aw?disable_polymer=true">
<img align="left" alt="Ankush's Youtube Channel" width="22px" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/youtube.svg" />
</a>
<a href="https://www.codepen.io/anproghub">
<img align="top-right" alt="Ankush's Codepen" width="22px" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/codepen.svg" />
</a>
<br>
I'm Ankush Chauhan a High School Web Developer πŸš€ from India currently, I'm studying in 9th grade. Who loves computer programming and interacting with the people of similar interest so that I can develop myself into a better version.
An Enthusiastic person who is passionate about making open-source more accessible, creating technology to elevate people, and building community Where sharing of knowledge is
super easy.
<img align="right" alt="GIF" src="https://github.com/abhisheknaiidu/abhisheknaiidu/blob/master/code.gif?raw=true" width="500" height="320" />


**Talking about Personal Stuffs:**

- πŸ‘¨πŸ½β€πŸ’» I’m currently working on something cool :wink: ;
- 🌱 I’m currently learning ReactJS and C++ ;
- πŸ’¬ Ask me about anything, I am happy to help ;
- πŸ“« How to reach me: [Ankush Chauhan](https://www.linkedin.com/ankush-chauhan-590b5b1ab/) ;
- πŸ“[Resume](https://www.linkedin.com/ankush-chauhan-590b5b1ab/) ;



**Languages and Tools:**

<code><img height="35" src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/javascript/javascript.png"></code>
<code><img height="35" src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/html/html.png"></code>
<code><img height="35" src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/react/react.png"></code>
<code><img height="35" src="https://raw.githubusercontent.com/github/explore/5c058a388828bb5fde0bcafd4bc867b5bb3f26f3/topics/css/css.png"></code>
<code><img height="35" src="https://nodejs.org/static/images/logo-hexagon-card.png"></code>
<code><img height="35" src="https://cdn.iconscout.com/icon/free/png-512/c-programming-569564.png"></code>
<code><img height="35" src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/python/python.png"></code>
<code><img height="35" src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/firebase/firebase.png"></code>
<code><img height="35" src="https://git-scm.com/images/logos/downloads/Git-Icon-1788C.png"></code>
<code><img height="35" src="https://user-images.githubusercontent.com/49339/32078472-5053adea-baa7-11e7-9034-519002f12ac7.png"></code>
<code><img height="35" src="https://cdn.iconscout.com/icon/free/png-512/unity-5-555544.png"></code>
<code><img height="35" src="https://www.kindpng.com/picc/m/25-255595_icon-android-studio-logo-hd-png-download.png"></code>
<code><img height="35" src="https://cdn3.brettterpstra.com/uploads/2015/02/terminal-longshadow.png"></code>
<code><img height="35" src="https://www.pinclipart.com/picdir/middle/35-353932_bootstrap-bootstrap-4-logo-png-clipart.png"></code>
<code><img height="35" src="https://cdn.worldvectorlogo.com/logos/sublime-text.svg"></code>
<code><img height="35" src="https://cdn.iconscout.com/icon/free/png-512/stackoverflow-2-432547.png"></code>
<code><img height="35" src="https://material-ui.com/static/logo.png"></code>


πŸ“Š **This Week I Spent My Time On:**β°πŸ•œ
<!--START_SECTION:waka-->
```text
React 13 hrs 36 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 50.75 %
JavaScript 5 hrs 38 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 21.06 %
CSS 4 hrs 29 mins β–ˆβ–ˆβ–ˆβ–ˆβ–’β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 16.74 %
HTML 1 hr 8 mins β–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 04.27 %
Python 45 mins β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 02.83 %
```
<!--END_SECTION:waka-->


πŸ’­πŸŒ‡πŸ—Ό **My Dream Companies:** πŸŒ‡πŸ—Ό
<br />
<code><img height="70" src="https://blog.hubspot.com/hubfs/image8-2.jpg"></code>
<code><img height="70" src="https://facebookbrand.com/wp-content/uploads/2019/10/flogo_RGB_HEX-BRC-Site-250.png?w=250&h=250"></code>
<code><img height="70" src="https://www.iconfinder.com/data/icons/picons-social/57/56-apple-512.png"></code>
<code><img height="70" src="https://1000logos.net/wp-content/uploads/2016/10/Colors-Amazon-Logo.jpg"></code>
<code><img height="70" src="https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RE2qVsJ?ver=3f74"></code>
<code><img height="70" src="https://storage.googleapis.com/webdesignledger.pub.network/WDL/12f213e1-t1.jpg"></code>


<!-- ▢️▢️▢️ **Top 5 Youtubers which do I prefer:** ▢️▢️▢️
<img align="center" src="https://seeklogo.net/wp-content/uploads/2017/08/YouTube-logo-1-512x512.png" width="100" height="100" />
<br>
<img align="center" src="https://yt3.ggpht.com/a/AATXAJwFt03RAznOsPwlfo5c1kW1rp-1o3Xgpw9MNreQMQ=s900-c-k-c0xffffffff-no-rj-mo" width="100" height="100" />
<a href = "https://www.youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ" >FreeCodeCamp.org<a/>
<br>
<img align="center" src="https://res.cloudinary.com/sl0/image/upload/v2/external-thumbnails/UCWv7vMbMWH4-V0ZXdmDpPBA.jpg" width="100" height="100" />
<a href = "https://www.youtube.com/user/programmingwithmosh" >Programming with Mosh<a/>
<br>
<img align="center" src="https://coursenames.com/wp-content/uploads/2019/12/Derek-Banas.png" width="100" height="100" />
<a href = "https://www.youtube.com/user/derekbanas" >Derek Banas<a/>
<br>
<img align="center" src="https://yt3.ggpht.com/a/AATXAJwE3B3SOiKZ267YL2x7XmRLAZgfjgrrb-N4FA=s900-c-k-c0xffffffff-no-rj-mo" width="100" height="100" />
<a href = "https://www.youtube.com/channel/UCaO6VoaYJv4kS-TQO_M-N_g" >ClΓ©ment Mihailescu<a/>
<br>
<img align="center" src="https://yt3.ggpht.com/a/AATXAJydjgDHqK3vz4iHkrPZjHSsjwh1aPsqOwxHCZ_ISA=s900-c-k-c0xffffffff-no-rj-mo" width="100" height="100" />
<a href = "https://www.youtube.com/channel/UCqrILQNl5Ed9Dz6CGMyvMTQ" >Clever Programmer<a/>
-->




Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### Namaste,Hola,Hi! I'm Anmol Sinha!πŸ‘‹

- πŸ”­ I’m currently working on a few Flutter project.
- 🌱 I’m currently learning Digital Marketing
- πŸ’¬ Ask me about Mobile Technology and Technology in General
- πŸ“« How to reach me: >[LinkdIn - Anmol Sinha](https://www.linkedin.com/in/anmol-sinha-1828052a/),
>Email - sinhaanmol.16@gmail.com,
>[Instagram - ANMOL SINHA](https://www.instagram.com/sinhaanmol.16/)
- πŸ˜„ Pronouns: He / Him / Bro / Dude
- ⚑ Fun fact: Ctrl + C and Ctrl + V have saved more lives than Batman and Robin.


<img src="https://github-readme-stats.vercel.app/api?username=stonecoldanmol&&show_icons=true&title_color=000000&icon_color=CE17F2&text_color=0066FE&bg_color=FFF276">
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Introduction 😎
Name πŸ“›: Arjun Bansal
GitHub id πŸ†”: arjunbansal090
place 🏠 : Dehradun

About me πŸ‘¦ :
I am Arjun Bansal, A second year computer science engineering student. My major areas of interest are Web Development, Open Source.
10 changes: 10 additions & 0 deletions students list/hacktoberfest-2019-master/students list/alokgoldy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Welcome to my profile:
Alok Goldy
a high functioning geek, exploring various domains of computer science! !


Geeky Interests:
Competetive Programming
Full Stack Web Developer
Mobile Stuff (Anddroid,Flutter)
I hope you enjoyed!
Loading

0 comments on commit 6799004

Please sign in to comment.