You are given an integer array heights where heights[i] represents the height of the ith bar.
@tarabyte.tech
29.5K followers · usually 14.1K views a post
Views
57.6K
Likes
4.4K
Comments
52
Shares
121
Why it worked
The video provides a clear explanation and step-by-step coding of a common algorithm problem, which is highly valuable for aspiring software engineers. The creator's engaging personality and the "Turbo Code Mode" segment likely contributed to viewer retention.
Summary
The creator explains and codes a solution to the LeetCode problem "Container With Most Water". The presented solution uses a brute-force approach with nested loops, resulting in O(n^2) time complexity.
ProLocked — included with ProLocked
Transcript, structure and on-screen text
5 beats, a 552-word transcript and 8 lines of on-screen text — the parts you need to write your own version.
The hook, the summary, why it worked and what it sells stay open on every video, signed in or not.
Original caption
part two: the most efficient solution dropping tmrw (get excited) I used to be a TA in college and I miss it hehe. Solve the Leetcode problem, container with most water, with me. Found this problem on @NeetCode! #leetcode #softwareengineer #coding #techtok #womenintech
More from @tarabyte.tech
Their other posts in the index, biggest breakout first.