Cracking Common Interview Algorithm Patterns: Sliding Window Part 1 of 3

Publié le: 30 novembre 2021
sur la chaîne: Coderbyte
14,199
287

We’re kicking off a new series where we cover common interview patterns to help give you the tools to solve almost any algorithm-based interview problem that comes your way.

Today we’re diving into the Sliding Window pattern which uses two pointers to create a window.

The Challenge:
Given an array, find the average of all contiguous subarrays of size “K.”

Video Overview:
2:20 Overview of the series
5:17 Sliding window introduction
7:41 Sample problem
8:41 Naive approach
12:44 Coding a javascript solution
33:40 Recap

Please subscribe to our channel!

What types of videos would you like to see next? Let us know in the comments.

Additional Resources:
Practice hundreds of real coding challenges at https://coderbyte.com/
Need more practice? Check out our channel for more videos on preparing for a coding interview    / coderbytedevelopers  


Sur cette page du site, vous pouvez voir la vidéo en ligne Cracking Common Interview Algorithm Patterns: Sliding Window Part 1 of 3 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Coderbyte 30 novembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 14,199 fois et il a aimé 287 téléspectateurs. Bon visionnage!