Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Arrays & Strings

Work with Python lists, strings and 2D grids while knowing what each operation costs, and transform data in place.

Intro1 roadmap

4 objectives 6 steps about 120 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • State the cost of common list and string operations (index, append, insert at front, slice, concatenate, membership test) and pick the cheaper alternative.
  • Implement in-place array transformations (reverse, rotate, partition, remove duplicates from sorted input, cyclic placement of values 1..n at their own index) using O(1) extra space.
  • Build and compare strings efficiently, using join instead of repeated concatenation and character counts instead of repeated scans.
  • Traverse 2D grids by rows, columns, diagonals and neighbors without index errors.

Lesson plan

6 steps, about 120 min · 5 of 5 lessons available so far

Practise it

Implement rotate-by-k in place, run-length string compression, in-place 90-degree rotation of an n x n matrix, and finding the missing and duplicated values in a list of 1..n by cyclic placement; pass the provided pytest suite, including empty and single-element cases.

Build it from scratch

Practice builds that exercise this skill by re-creating a real technology.

Browse 12 tutorials that practise it

References

Hard prerequisites

Unlocks

On these roadmaps

Progress and evidence for this skill are shared across all of them.