Logo
Explore Help
Sign In
gaspersic/learngo
1
0
Fork 0
You've already forked learngo
Code Issues Pull Requests Projects Releases Wiki Activity
Files
04c5e2bec7fe77fedf739f4a278cf1d29d749fef
learngo/16-slices/exercises/README.md
Inanc Gumus 04c5e2bec7 add: slice internals backing array and slice header
2019-02-08 13:11:03 +03:00

2.5 KiB
Raw Blame History

Slice Exercises

Exercises Level I - Basics — Warm-Up

These are warm-up exercises that will reinforce your knowledge of slices.

  1. Declare nil slices

  2. Assign empty slices

  3. Assign slice literals

  4. Declare the arrays as slices

  5. Fix the Problems

  6. Compare the slices


Exercises Level II - Appending

  1. Append #1 — Append and compare byte slices

  2. Append #2 — Append to a nil slice

  3. Append #3 — Fix the problems

  4. Append and Sort Numbers

  5. Housing Prices

  6. Housing Prices and Averages


Exercises Level III - Slicing

  1. Slice the numbers

  2. Slicing by arguments

  3. Slicing the Housing Prices


Exercises Level IV - Internals

  1. Fix the backing array problems

  2. Sort the backing array

  3. Observe the memory allocations

Powered by Gitea Version: 1.24.3 Page: 29ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API