Sign in to confirm you’re not a bot
This helps protect our community. Learn more

Intro

0:00

Introducing Ryan Levick

2:17

Overview of this series - working on interview style problems

3:03

The problem we are working on today - number of islands

4:07

Why does Rust use Cargo instead of Rust as the command line?

8:50

What type of Rust project should be build to have unit tests?

10:24

Create our Rust app with cargo!

10:50

What files does cargo new create?

11:11

Unit tests in Rust

13:28

Building a test for the number of islands problem

16:20

Modeling a grid of data using arrays or vectors

17:00

The Rust Analyzer extension for Visual Studio Code

23:00

Syntax for passing a variable sized array using generics

24:52

Scoping functions in test mods

26:50

Do you write tests for coding interviews?

28:00

What is usize in Rust?

29:29

How are we going to solve the number of islands problem?

35:26

Starting to write the code

38:50

A Rust function to find the index of a 1 dimensional array from a row and column

41:06

Returning values from a function in Rust

45:17

HashSets in Rust for storing unique data

45:55

The turbofish syntax

47:35

Borrowing in Rust

50:40

Counting islands with a mutable variable

58:10

Debugging a test failure

1:00:12
Crack code interview problems in Rust - Ep. 1
Watch expert software developers solve interview problems in Rust! Interviews for software engineers often come with a coding challenge, using platforms like LeetCode or HackerRank. These challenges ask you to solve coding problems in a language of your choice, to show what algorithms and data structures you know, and highlight how you solve problems. Love them or hate them, being able to solve these kinds of challenges is becoming a part of interviewing for your next job. This series is all about how expert developers try (and possibly fail) to crack these coding problems using Rust, a powerful systems programming language that is rising in popularity, and has been rated as the most loved programming language for the past 7 years in the StackOverflow survey. In this show Jim takes on a classic coding problem - the number of islands problem. Jim is fairly new as a rustlang developer, so he has roped in Ryan Levick to help. Ryan is a seasoned Rust developer and is on the Rust Foundation board, so is able to guide Jim as they solve the number of islands problem together. 0:00 Intro 2:17 Introducing Ryan Levick 3:03 Overview of this series - working on interview style problems 4:07 The problem we are working on today - number of islands 8:50 Why does Rust use Cargo instead of Rust as the command line? 10:24 What type of Rust project should be build to have unit tests? 10:50 Create our Rust app with cargo! 11:11 What files does cargo new create? 13:28 Unit tests in Rust 16:20 Building a test for the number of islands problem 17:00 Modeling a grid of data using arrays or vectors 23:00 The Rust Analyzer extension for Visual Studio Code 24:52 Syntax for passing a variable sized array using generics 26:50 Scoping functions in test mods 28:00 Do you write tests for coding interviews? 29:29 What is usize in Rust? 35:26 How are we going to solve the number of islands problem? 38:50 Starting to write the code 41:06 A Rust function to find the index of a 1 dimensional array from a row and column 45:17 Returning values from a function in Rust 45:55 HashSets in Rust for storing unique data 47:35 The turbofish syntax 50:40 Borrowing in Rust 58:10 Counting islands with a mutable variable 1:00:12 Debugging a test failure Find all the code at https://github.com/jimbobbennett/crac.... Learn more about Rust: Join our cloud skills challenge to compete with others as you learn about Rust - https://aka.ms/RustCsC2023 Take your first steps with Rust on Microsoft Learn - https://aka.ms/Takeyourfirststepswith... Get started with Rust from the Microsoft Reactor - https://aka.ms/PlaylistGettingstarted... Feel free to leave us a comment below, and don't forget to subscribe: https://aka.ms/Reactor/Subscribe-YouTube Connect with us: Homepage: https://developer.microsoft.com/reactor/ Facebook: https://fb.com/MicrosoftReactor Twitter:   / msftreactor   Meetup: https://www.meetup.com/pro/microsoft-... About Microsoft Reactor: Reactors are community spaces where technology professionals meet, learn, and connect - to both their local peers as well as industry-leading ideas and technology from Microsoft, partners, and the open source community. With a diverse mix of workshops, presentations, and networking events customized for each city, there’s something for everyone – whether you’re just getting started or working on complex projects. Our programming is always free and inclusive of a broad set of products, tools, and technologies. [eventID:17772]

Follow along using the transcript.

Microsoft Reactor

115K subscribers
Live chat replay is not available for this video.