Coding Mock Interview - Move All Zeros To End Of Array (with Google SWE)
Exponent
@tryexponentAbout
Tech interview prep. Courses, coaching, and practice. Join 1M+ candidates. - product management, - software engineering, - engineering management, - system design, - data science, - machine learning, - technical program management, - strategy and operations, - UX and product design, - and more!
Latest Posts
Video Description
Ace your interviews with Exponentโs Software Engineering interview course: https://bit.ly/3wTag6U In this software engineering mock interview, the interviewer presents a coding challenge to the interviewee: move all zeros in an integer array to the end while maintaining the relative order of non-zero elements. Want to practice peer-to-peer mock interviews just like this one? https://bit.ly/3Xmj8wq Chapters (Powered by ChapterMe) - 00:00 - Intro 00:42 - Move zeros in integer array 01:54 - Automated sorting of arrays with zeros, stable ordering 05:38 - Moving zeros and nonzeros in arrays 09:38 - Function Move zeros, fill index, iterate over data 11:11 - Fill index with zeros at end 12:11 - Test cases for arrays with zeros 13:10 - Example iterate over data, modify accordingly 15:39 - Perfect interview, good challenges, improvement 18:30 - Clarifying questions smart choice - Technical interview question at Google: https://youtu.be/riBWq1DvVb8 - Technical interview questions at Google: https://youtu.be/Cs0PYDBUbws - Design TikTok with Google SWE: https://youtu.be/Z-0g_aJL5Fw - Negotiation tips: https://youtu.be/fyn0CKPuPlA ๐ Subscribe to our channel: http://bit.ly/exponentyt ๐๏ธ Follow us on Twitter: http://bit.ly/exptweet ๐ Like us on Facebook for special discounts: http://bit.ly/exponentfb ๐ท Check us out on Instagram: http://bit.ly/exponentig ๐น Watch us on TikTok: https://bit.ly/exponenttiktok ABOUT US: Did you enjoy this interview question and answer? Want to land your dream career? Exponent is an online community, course, and coaching platform to help you ace your upcoming interview. Exponent has helped people land their dream careers at companies like Google, Microsoft, Amazon, and high-growth startups. Exponent is currently licensed by Stanford, Yale, UW, and others. Our courses include interview lessons, questions, and complete answers with video walkthroughs. Access hours of real interview videos, where we analyze what went right or wrong, and our 1000+ community of expert coaches and industry professionals, to help you get your dream job and more!
Essential Mavic 3 Accessories
AI-recommended products based on this video

SmallRig ZV-E1 Camera Baseplate for Sony ZV-E1, Built-in Cold Shoe Mount and QR Plate (for Arca) Quick Switch Between Tripod and Stabilizer for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro - 4314

NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

SmallRig Baseplate for Sony Alpha 6700, Bottom Mount Plate Built-in Quick Release Plate for Arca, Supporting Quick Switch Between Tripod and Stabilizer (for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro) - 4338

SanDisk 128GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXD-128G-GN4IN

SmallRig ZV-E1 Camera Baseplate for Sony ZV-E1, Built-in Cold Shoe Mount and QR Plate (for Arca) Quick Switch Between Tripod and Stabilizer for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro - 4314

NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

SmallRig Baseplate for Sony Alpha 6700, Bottom Mount Plate Built-in Quick Release Plate for Arca, Supporting Quick Switch Between Tripod and Stabilizer (for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro) - 4338

DJI Osmo Action 4 Standard Combo, 4K/120fps Waterproof Action Camera with a 1/1.3-Inch Sensor, Stunning Low-Light Imaging,10-bit & D-Log M Color Performance, Long-Lasting 160 Mins, Outdoor Camera

SmallRig ZV-E1 Camera Baseplate for Sony ZV-E1, Built-in Cold Shoe Mount and QR Plate (for Arca) Quick Switch Between Tripod and Stabilizer for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro - 4314

NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048



















