- 1

Algorithms and Data structures

Write a c++code for insertion and deletion in a two dimensional array

22nd Feb 2020, 12:15 PM
Osei Fordjour Lawrence
Osei Fordjour Lawrence - avatar
4 Answers
+ 2
Hey Osei Fordjour Lawrence, if you need assistance in writing such a code, please provide what you have attempted so far, preferably in form of a saved code, so we can determine where you are stuck. If, however, this is supposed to be a challenge for other users, please move this thread to your personal feed. Also, kindly review: https://www.sololearn.com/discuss/1316935/?ref=app
22nd Feb 2020, 1:04 PM
Shadow
Shadow - avatar
+ 2
Well, what does insert and deletion mean in this case? Is an element overwritten, or should the array grow/ shrink in size? In case of the latter you will need dynamic memory.
23rd Feb 2020, 8:57 AM
Shadow
Shadow - avatar
+ 1
ok i understand
22nd Feb 2020, 1:08 PM
Osei Fordjour Lawrence
Osei Fordjour Lawrence - avatar
0
int A[3][3] for(int i =0; i<3;i++) { for(int j=0;j<3;j++) {std::cin>>A[i][j] this is where i have gotten to any help on how to insert and delete ?
22nd Feb 2020, 1:53 PM
Osei Fordjour Lawrence
Osei Fordjour Lawrence - avatar