Google Interview question (Level: Hard) Reconstruct the permutation 🔀
Is competitive programming necessary for a Google interview? This problem has a prerequisite of segment trees, which is a popular data structure for range query problems. The data structure was until recently considered a hard concept to master.
In this Google coding interview, we solve the problem of reconstructing an permutation array from a derivative. We find a brute force solution and an in-place space optimized solution before the final solution with segment trees.
00:00 Intro
00:20 Problem definition
02:08 Brute force
02:52 In-place solution
05:15 Time complexity analysis
05:44 Part 2 - Use auxiliary space
07:07 Final Solution
10:37 Time complexity
11:11 Conclusion
If you'd like me to look into an interesting problem, let me know at contact@interviewready.io
Are you preparing for system design interviews?
https://get.interviewready.io/
It's the best place to learn system design in-depth. You can use the coupon code of 'earlybird' to get a 20% discount 🔥
AlgoWorkout playlist: https://www.youtube.com/playlist?list=PLMCXHnjXnTnvWapjXuYL4Bp7oEQKBQPce
You can follow me on:
Instagram: https://www.instagram.com/applepie404/
LinkedIn: https://www.linkedin.com/in/gaurav-sen-56b6a941/
Quora: https://www.quora.com/profile/Gaurav-Sen-6
Twitter: https://twitter.com/gkcs_
Github: https://github.com/coding-parrot/
#Google #Interview #CompetitiveProgramming
Видео Google Interview question (Level: Hard) Reconstruct the permutation 🔀 канала Gaurav Sen
In this Google coding interview, we solve the problem of reconstructing an permutation array from a derivative. We find a brute force solution and an in-place space optimized solution before the final solution with segment trees.
00:00 Intro
00:20 Problem definition
02:08 Brute force
02:52 In-place solution
05:15 Time complexity analysis
05:44 Part 2 - Use auxiliary space
07:07 Final Solution
10:37 Time complexity
11:11 Conclusion
If you'd like me to look into an interesting problem, let me know at contact@interviewready.io
Are you preparing for system design interviews?
https://get.interviewready.io/
It's the best place to learn system design in-depth. You can use the coupon code of 'earlybird' to get a 20% discount 🔥
AlgoWorkout playlist: https://www.youtube.com/playlist?list=PLMCXHnjXnTnvWapjXuYL4Bp7oEQKBQPce
You can follow me on:
Instagram: https://www.instagram.com/applepie404/
LinkedIn: https://www.linkedin.com/in/gaurav-sen-56b6a941/
Quora: https://www.quora.com/profile/Gaurav-Sen-6
Twitter: https://twitter.com/gkcs_
Github: https://github.com/coding-parrot/
#Google #Interview #CompetitiveProgramming
Видео Google Interview question (Level: Hard) Reconstruct the permutation 🔀 канала Gaurav Sen
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Designing Instagram: System Design of News Feed](https://i.ytimg.com/vi/QmX2NPkJTKg/default.jpg)
![What is Database Sharding?](https://i.ytimg.com/vi/5faMjKuB9bc/default.jpg)
![Google Coding Interview With A High School Student](https://i.ytimg.com/vi/qz9tKlF431k/default.jpg)
![Google Coding Interview Question and Answer #1: First Recurring Character](https://i.ytimg.com/vi/GJdiM-muYqc/default.jpg)
![What is Distributed Caching? Explained with Redis!](https://i.ytimg.com/vi/U3RkDLtS7uY/default.jpg)
![What is a Message Queue and Where is it used?](https://i.ytimg.com/vi/oUJbuFMyBDk/default.jpg)
![](https://i.ytimg.com/vi/PGO8VS4BYak/default.jpg)
![Medium Google Coding Interview With Ben Awad](https://i.ytimg.com/vi/4tYoVx0QoN0/default.jpg)
![System Design Primer ⭐️: How to start with distributed systems?](https://i.ytimg.com/vi/SqcXvc3ZmRU/default.jpg)
![What is an API and how do you design it? 🗒️✅](https://i.ytimg.com/vi/_YlYuNMTCc8/default.jpg)
![Whatsapp System Design: Chat Messaging Systems for Interviews](https://i.ytimg.com/vi/vvhC64hQZMk/default.jpg)
![Easy Google Coding Interview With Ben Awad](https://i.ytimg.com/vi/vHKzIPwWQkg/default.jpg)
![Cracking the Google Coding Interview with Priyank Goyal](https://i.ytimg.com/vi/KkY0UQ3lRxU/default.jpg)
![Top 7 signs you're a Programmer.](https://i.ytimg.com/vi/3sZbFPDzUZU/default.jpg)
![Moving from Monoliths to Microservices 🎂 → 🍰🍰🍰](https://i.ytimg.com/vi/rckfN7xFig0/default.jpg)
![Google Coding Interview With A Competitive Programmer](https://i.ytimg.com/vi/EuPSibuIKIg/default.jpg)
![Google Interview Experience | Offer](https://i.ytimg.com/vi/I65quKey1EM/default.jpg)
![System Design: Tinder as a microservice architecture](https://i.ytimg.com/vi/tndzLznxq40/default.jpg)
![Don't Make these mistakes in Google Interviews | Interview Experience](https://i.ytimg.com/vi/CFmdSPZH-i8/default.jpg)
![AlgoWorkout: Combinatorics and Binary Search Trees 💪](https://i.ytimg.com/vi/fXZ5YGalS2w/default.jpg)