GithubHelp home page GithubHelp logo

sukshan01 / daa- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dharmanshu9930/daa-

0.0 0.0 0.0 1.64 MB

Hacktoberfest repo

Home Page: https://github.com/dharmanshu9930/Daa-

C++ 56.32% Python 10.13% Perl 0.73% C 5.07% PHP 0.90% Java 16.83% Scala 0.05% Tcl 0.01% CSS 1.61% HTML 8.22% Roff 0.13%

daa-'s Introduction

hacktoberfest-2022

you can get here c and cpp program's

//merge sort #include

using namespace std;

void merge(int a[],int b[],int x,int y,int c[]) { int z=0,i=0,j=0,k=0; while(i<x && j<y) { if(a[i]<b[j]) c[k++]=a[i++]; else c[k++]=b[j++]; } while(i<x) c[k++]=a[i++]; while(j<y) c[k++]=b[j++]; } int main() { int a[100],b[100],c[100],x,y; cout<<"Enter the sizes of the arrays"; cin>>x>>y; cout<<"ENter array 1:"; for(int i=0;i<x;i++) cin>>a[i]; cout<<"Enter Array 2:"; for(int i=0;i<y;i++) cin>>b[i]; merge(a,b,x,y,c); for(int i=0;i<x+y;i++) cout<<c[i]<<" "; return 0; }

daa-'s People

Contributors

dharmanshu9930 avatar chetannihith avatar ayushmorbar avatar meetgehi avatar miinus-vee avatar abhinav092003 avatar raaz092003 avatar rabhinav2003 avatar raman-lamba avatar rishabh-108272 avatar nikhil-kumar-tomar avatar vikash0909 avatar nikhilarora12 avatar anupgupta0852 avatar akanshuaich avatar sushantrana04 avatar sakshi292 avatar neha510 avatar kirsh890 avatar deepanshu1201 avatar bhawnadiya avatar ankush1301 avatar imdevil69 avatar shubhamkurrey avatar saumya1740 avatar sapnajha19 avatar ar-studio-llp avatar abhinav163 avatar adityar-dev98 avatar ayushluthra2001 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.