If playback doesn't begin shortly, try restarting your device.
•
You're signed out
Videos you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.
CancelConfirm
Share
An error occurred while retrieving sharing information. Please try again later.
484 views • Streamed live on Mar 21, 2023 • #rustlang
Show less
We’re back for episode 2 of our second series! Last series we completed the number of islands problem, and failed at Conway’s game of life as we were learning too much cool #rustlang. This time we’re back to work on a new set of problems.
You can catch the previous episodes on the Microsoft Reactor YouTube channel: • Crack code interview problems with Rust
Interviews for coders 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.
In this series, @jimbobbennett is joined by Nell Shamrell-Harrington, a Principal Software Engineer at Microsoft and a member of the Rust board of directors. Our intrepid experts will try th…...more
We’re back for episode 2 of our second series! Last series we completed the number of islands problem, and failed at Conway’s game of life as we were learning too much cool #rustlang. This time we’re back to work on a new set of problems.
You can catch the previous episodes on the Microsoft Reactor YouTube channel: • Crack code interview problems with Rust
Interviews for coders 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.
In this series, @jimbobbennett is joined by Nell Shamrell-Harrington, a Principal Software Engineer at Microsoft and a member of the Rust board of directors. Our intrepid experts will try their hand at a range of coding challenges in 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. Jim is new to Rust, so will be learning a load of tips and techniques as he pairs with Nell to solve these challenges.
In the last episode we tried to implement solution to a word search problem, but we were having too much fun in the chat talking about rust so didn't get much further than a test case and looping through the board. In this episode we finally manage to complete the word search problem whilst talking rust, tech careers, interviews and more!
00:00 - Welcome!
00:40 - Introducing Nell, and This Week in Rust - https://this-week-in-rust.org/03:34 - Are we seeing more rust jobs? Yes!
07:07 - Game development in rust with Bevy. https://bevyengine.org13:32 - We discuss tech jobs and interviews and how to prepare
24:54 - The word search problem we are looking at today
26:10 - We dive into the code starting with our test case and our rust code to iterate through the board
28:08 - Breadth first vs depth first search
33:50 - Building a recursive function to look for the next letter
36:20 - Interview tip - write comments to plan your ideas as you code
37:28 - String slices in rust to chop up our word
41:00 - Adding guards to check if we have found our word
45:00 - Subtraction from usizes, and signed and unsigned integers.
49:45 - "I'm now at the point with rust where I know if I see a red squiggly I should probably put an & in front of it"
55:08 - We run our test, and it works! Let's add more tests
57:48 - The data structures and algorithms we used
59:50 - We discuss the performance of our algorithm in big-O notation
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/RustS2CloudSkillsChall...
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:18674]…...more