Ilakk Manoharan
Ilakk Manoharan
  • 41
  • 1 389
Solving Leetcode's 138. Copy List with Random Pointer
A linked list of length n is given such that each node contains an additional random pointer, which could point to any node in the list, or null.
Construct a deep copy of the list. The deep copy should consist of exactly n brand new nodes, where each new node has its value set to the value of its corresponding original node. Both the next and random pointer of the new nodes should point to new nodes in the copied list such that the pointers in the original list and copied list represent the same list state. None of the pointers in the new list should point to nodes in the original list.
Переглядів: 7

Відео

Shallow Copy Of Linked List
Переглядів 916 годин тому
Shallow Copy Of Linked List Difference Between Deep Copy and Shallow Copy Deep Copy: A deep copy creates an entirely new object and recursively copies all the objects referenced by the original object. In the context of linked lists with random pointers, a deep copy means: Each node in the copied list is a brand-new node. The next and random pointers in the new list point to new nodes (not shar...
More explanation, code walk through for Leetcode/234. Palindrome Linked List
Переглядів 119 годин тому
Given the head of a singly linked list, return true if it is a palindrome or false otherwise.
Solving Leetcode/234. Palindrome Linked List
Переглядів 319 годин тому
Given the head of a singly linked list, return true if it is a palindrome or false otherwise.
Solving LeetCode/23. Merge k Sorted Lists
Переглядів 1219 годин тому
You are given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into one sorted linked-list and return it.
Understanding Time Complexities
19 годин тому
Time complexity is a fundamental concept in computer science and programming, as it describes how the runtime of an algorithm scales with the size of the input. Understanding the relative speed of different time complexities is essential for designing efficient algorithms. Here, we’ll explore common time complexities, arranged from fastest to slowest, with detailed explanations and examples.
System Design for the Image Thumbnail Solution : Designing Metadata Indexing with Amazon OpenSearch
Переглядів 2День тому
Design of Metadata Indexing with ElasticSearch Objective: Enable fast, flexible search and filtering for images. Solution: Use Amazon OpenSearch Service (ElasticSearch) for metadata indexing. System Design: Store metadata (e.g., product ID, category, color) as JSON documents in OpenSearch. Establish a synchronization pipeline: Step 1: Use AWS Lambda to trigger metadata indexing when a new image...
System Design for the Image Thumbnail Solution: Dynamic Thumbnail Generation
Переглядів 2День тому
System Design for the Image Thumbnail Solution (Part 3) : Implementation of Dynamic Thumbnail Generation Objective: Avoid storing multiple pre-generated thumbnail sizes and optimize storage usage. Solution: Use AWS Lambda for on-the-fly thumbnail generation. System Design: Request Flow: User requests an image via CloudFront (e.g., /thumbnails/product123?width=200&height=200). If the thumbnail i...
Selection of Cloud File Storage: System Design for the Image Thumbnail Solution
Переглядів 5День тому
Selection of Cloud File Storage Choice: Amazon S3 paired with Amazon CloudFront. Reasoning: S3: Provides durability (99.999999999%), scalability, and cost-efficient storage with features like versioning and lifecycle policies. CloudFront: Reduces latency by caching images closer to users’ locations via edge locations. System Design: Store original images in Amazon S3 Standard. Define lifecycle ...
System Design for the Image Thumbnail Solution : Evaluation of Storage Options
Переглядів 20День тому
System Design for the Image Thumbnail Solution : Evaluation of Storage Options
Solving Largest Outlier in Array in Java
Переглядів 2314 днів тому
Solving Amazon Interview Questions from Leetcode 3371. Identify the Largest Outlier in an Array You are given an integer array nums. This array contains n elements, where exactly n - 2 elements are special numbers. One of the remaining two elements is the sum of these special numbers, and the other is an outlier. An outlier is defined as a number that is neither one of the original special numb...
Solving DFS using Java - Finding Path in Maze
Переглядів 344 місяці тому
Depth First Search (DFS) is a fundamental algorithm used in computer science for traversing or searching tree or graph data structures. This video explores a small problem (Finding Path in Maze) that can be efficiently solved using DFS, providing detailed solution in Java medium.com/@ilakk2023/264-depth-first-search-in-java-solutions-to-everyday-challenges-0eeaf6b352e5
Quantum Dot Spin Qubits for Quantum Computing
Переглядів 202Рік тому
Presentation at the ISSRDC 2023, Aug 2, Innovation Solutions Technical Session
Exploring Alternative Materials and Methods for Synthesizing Quantum Dots
Переглядів 37Рік тому
Presentation at the ISSRDC 2023, Aug 3
Excited to join Dial Venture Studio Fellowship Program. VERSION 2
Переглядів 39Рік тому
What factors have brought me to the decision to apply for the DIAL Venture Studio Fellowship program? Considering my background and experiences, what are the two primary contributions I feel I could add as a cohort member?
Excited to join DIAL VENTURE STUDIO FELLOWSHIP!!!!! Version 1
Переглядів 33Рік тому
Excited to join DIAL VENTURE STUDIO FELLOWSHIP!!!!! Version 1
Studying Optical Phenomena in Microgravity Environments
Переглядів 10Рік тому
Studying Optical Phenomena in Microgravity Environments
Exploring Quantum Dots: Properties, Synthesis and Applications
Переглядів 151Рік тому
Exploring Quantum Dots: Properties, Synthesis and Applications
Seeking funding for Quantum Dots Research
Переглядів 9Рік тому
Seeking funding for Quantum Dots Research
Seeking funding for quantum dots research
Переглядів 2Рік тому
Seeking funding for quantum dots research
Bubbles & Cafe
Переглядів 42Рік тому
Bubbles & Cafe
Bubbles & Cafe Strategy deck v1
Переглядів 28Рік тому
Bubbles & Cafe Strategy deck v1
Bubbles & Cafe & Sustainability
Переглядів 6Рік тому
Bubbles & Cafe & Sustainability
Bubbles & Cafe - Reasons to invest in AI Smart Restaurant
Переглядів 11Рік тому
Bubbles & Cafe - Reasons to invest in AI Smart Restaurant
Bubbles & Cafe can contribute to clean energy
Переглядів 3Рік тому
Bubbles & Cafe can contribute to clean energy
founder intro Bubbles & Cafe
Переглядів 36Рік тому
founder intro Bubbles & Cafe
My Apps in AppStore - 2020 to 2022
Переглядів 3Рік тому
My Apps in AppStore - 2020 to 2022
Poll Hippo - first launched on April 2022
Переглядів 7Рік тому
Poll Hippo - first launched on April 2022
Socically - First launched on Aug 2022
Переглядів 2Рік тому
Socically - First launched on Aug 2022
GuessedRight - Released on April 2021
Переглядів 1Рік тому
GuessedRight - Released on April 2021

КОМЕНТАРІ

  • @AlfredoTigolo
    @AlfredoTigolo 8 днів тому

    very nice

  • @IOSARBX
    @IOSARBX 4 місяці тому

    Ilakk Manoharan, Great video!

  • @mathiabiyah5932
    @mathiabiyah5932 Рік тому

    Super congrats

  • @datingtips8431
    @datingtips8431 Рік тому

    I would never invest in this!!! The CEO is paid too low, the company runs the risk of the CEO jumping ship to another company for higher pay

  • @yobro5060
    @yobro5060 Рік тому

    you're only going to pay yourself one million? That's not enough for a CEO, I'd question if they had enough incentive to take on such a huge task if they were only going to be paid one million

    • @MISS-yd1pd
      @MISS-yd1pd Рік тому

      I was literally just thinking the same thing. Don't CEOs get like more than one million in a single bonus? I'm would invest if they were properly motivating their CEOs

  • @mcfnord
    @mcfnord 4 роки тому

    Kool

  • @AlfredoTigolo
    @AlfredoTigolo 4 роки тому

    cool beans

  • @mcfnord
    @mcfnord 4 роки тому

    Show me more

  • @ohno8025
    @ohno8025 4 роки тому

    wow so good