Skip to content

0Magnetix0/4th-sem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TEAM DETAILS
NAME				    USN
1.Sudhanshu  Joshi 		    1KS18CS102
2.Sujay GS 			    1KS18CS103
3.Sourabh Santosh Kamble 	    1KS18CS097


CONTRIBUTION
NAME				              CONTRIBUTION
1.Sudhanshu Joshi 		    	Problem Logic and modification (Program 4 and 2).	
2.Sourabh Santosh Kamble		Problem Logic and Debugging (Program 4 and 11). 
3.Sujay GS 			        Problem Logic and Coding(4th program and 1st program).

INSTRUCTIONS
1.After compiling the program.
2.Enter the size and values of array a and b through command line argument.
Eg. ./a.out 4 4 6 10 15 19 3 4 5 20.
3.Make sure that the values entered in the commnad line into array a and b are in sorted order.
4..Press the ENTER Key to generate required output.

DETAILS ON EXAMPLE INVOCATION AND OUTPUT
INPUT
A = {6,10,15,19}
B = {3,4,5,20}
OUTPUT
A = {3,4,5,6}
B = {10,15,19,20}

CHALLENGES FACED
1.Solving the problem using  O(1) extra space was challenging.
2.Learning and understanding the command line arguments was a challenge.
3.Dealing with backtracking.
4.Providing efficient solution.
5.Solving the errors dealing with command line argumnets was challenging.

LEARNT FROM THIS ASSIGNMENT
1.How to write efficient code.
2.Solving the problem mathematically.
3.How to write clean code. 
4.Basic executing command line argument.

OPERATION
1. The number of basic operations performed is given with the output.
2. The time complexity for the problems is given in the form of comment in the source code.

>> Additional solution's have been added for question 1, and 2 please refer the designated folder.

About

assignment prob daa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 71.9%
  • Python 28.1%