codinasion-archive / codinasion-programme

An open source codebase for sharing programming solutions.
https://codinasion.vercel.app/programme
MIT License
62 stars 147 forks source link

Slice array element #903

Closed harshraj8843 closed 2 years ago

harshraj8843 commented 2 years ago

Title of programme

Write a GO programme to generate new array with sliced elements of old array.

Additional information

Array : ['abcd', 'efgh', 'ijklmn', 'opq', 'rstuvw', 'xyz']
Start : 2
End   : 3

Sliced Array : ['bc', 'fg', 'jk', 'pq', 'st', 'yz']

Code of Conduct

yogeshCt3 commented 2 years ago

I can work on this.