Raahaao Code: Algorithms & Data Structures
Write code that stays fast, and pass the coding interview.
10+ ore di lezioni · 2 progetti · €35
Ti aiuta a prepararti per: Technical coding interviews
Oppure includila in un piano mensile da €3.46 a settimana (addebitati €15 al mese) →
Serve un account per aprire qualsiasi lezione. Senza account puoi sfogliare le torri e i prezzi.
Cosa imparerai, piano per piano
- 1
Measuring code (Beginner)
- What an algorithm costs
- Big-O notation
- Arrays and strings
- 2
Core structures (Beginner)
- Hash maps and sets
- Stacks and queues
- Linked lists
- 3
Searching and sorting (Intermediate)
- Binary search
- Sorting algorithms
- Recursion and divide and conquer
- 4
Trees and graphs (Intermediate)
- Trees and binary search trees
- Heaps and priority queues
- Graphs: BFS and DFS
- 5
Interview-ready (Job-ready)
- Dijkstra and weighted paths
- Dynamic programming
- Greedy algorithms and sliding windows
- The interview playbook
I due progetti sul tetto
Route planner
Build a route planner for a small train network. Represent stations and track costs in a graph, then find routes by number of stops or ticket cost.
- build_graph(edges) builds an undirected weighted graph from (station_a, station_b, cost) edges
- fewest_stops(g, a, b) returns a path with the fewest edges, or None when b is unreachable
- cheapest_route(g, a, b) returns (total_cost, path) for the lowest-cost route, or None when b is unreachable
- reachable_within(g, a, budget) returns all stations whose cheapest cost from a is at most budget, including a, in alphabetical order
- When equally good routes exist, fewest_stops and cheapest_route choose the alphabetically earliest full station path
Autocomplete engine
Build an autocomplete engine that stores a weighted vocabulary and finds words by prefix. You will use a trie to keep shared prefixes together and a heap to rank popular matches.
- Trie.insert(word, weight) stores or updates a word with its weight, and Trie.contains(word) reports whether the complete word exists
- Trie.starts_with(prefix) returns all complete matching words in alphabetical order
- Trie.top_k(prefix, k) returns up to k (word, weight) pairs ordered by descending weight then alphabetical word, using a heap
- Trie.delete(word) removes a complete word without removing other words that share its prefix, and returns whether a word was removed
- edit_distance(a, b) returns the Levenshtein edit distance using dynamic programming
- suggest(word, k) returns up to k words from WORD_LIST ordered by edit distance then alphabetically
Domande
Devo installare qualcosa?
No. Tutto funziona nel tuo browser. Per i progetti puoi anche lavorare sul tuo computer e caricare i tuoi file.
Posso saltare quello che conosco già?
Sì. Una volta che possiedi una torre, ogni piano ha un test di salto: segna 8 su 10 e quel piano si apre.
Qual è la politica di restituzione?
Rimborsi entro 5 giorni dall'acquisto. Dopo 5 giorni, nessun rimborso o reso.
Mantengo l'accesso?
Sì. Una torre che acquisti è tua, senza abbonamento.
Le torri
HTML & CSS · JavaScript · Python · SQL · C++ · Node.js · Python per i dati · Flask · Logic & Problem Solving · Java · Machine Learning · Building with AI