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
2c7ee6ebf5fd874c6cfeba87f99b51763678f935
learngo/16-slices/exercises/README.md
Inanc Gumus 2c7ee6ebf5 add: slice internals exercises
2019-03-04 21:04:59 +03:00

2.9 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

  4. Observe the length and capacity

  5. Observe the capacity growth

  6. Correct the lyric

Powered by Gitea Version: 1.24.3 Page: 28ms 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