Skip to content
NY Comdori
Computer science notes, a daily Bitcoin market brief, Stock
  • bitcoin
  • Stock Investment
  • C++
  • Algorithm
  • Data Structure
  • Python 3
  • Prompt Engineering
  • Privacy Policy

Month: January 2022

Maximum Repeating Substring

Posted on January 10, 2022January 10, 2022 by NY Comdori

This is an easy level coding interview problem from leetcode. The problem asks you to find the maximum number of repeating string which is given. Please refer to the problem description for more detail. For the solution, you need to iterate the sequence. At each index, you check if the substring matches the word. If READ MORE

Posted in Algorithm

Recent Posts

  • Bitcoin Daily Brief — September 16, 2026: BTC Rebounds 0.7% to $76,145 as the Fed Hikes for the First Time Since 2023; the Low Stops $24 Above Tuesday’s
  • Bitcoin Daily Brief — September 15, 2026: BTC Falls 3.3% to $75,584 as the CLARITY Act Fails in the Senate; Close Lands $96 Above the Lower Band
  • Bitcoin Daily Brief — September 14, 2026: BTC Rebounds 1.8% to $78,175; $80,000 High Rejected, MACD Narrows First Time in 11 Days
  • Bitcoin Daily Brief — September 13, 2026: A Quiet Sunday Sheds $463 as the Golden-Cross Gap Clears $1,000
  • After the Sort: Partition and Two Pointers in C++
  • Interval Problems in C++: One Sort, One Sweep, and a Heap When You Need It
  • Sorting in C++: Five Algorithms, Stability, and What the Merge Step Buys You
  • Binary Search on the Answer in C++: Five Problems With Nothing to Search
  • Binary Search Without a Sorted Array: Peaks and Rotations in C++
  • Binary Search in C++: The Boundary Template and 10 Sorted-Array Problems
  • Bitcoin Daily Brief — September 12, 2026: A $445 Saturday, 2026’s 4th-Narrowest Range, as ETF Outflows Fade to $13M
  • Monotonic Stack Pattern in C++: 13 LeetCode Problems, One Rule for Popping
  • Bitcoin Daily Brief — September 10, 2026: The Squeeze Breaks Downward as a PPI Overshoot Takes BTC to $76,537
  • Bitcoin Daily Brief — September 9, 2026
  • LeetCode Queue Design Patterns in C++: Put the Answer at an Edge
  • Bitcoin Daily Brief — September 8, 2026: The Golden Cross Prints at $78,447 as Band Width Falls a Tenth Day to 8.4%
  • LeetCode Linked List Patterns in C++: Recovering the Context a Node Doesn’t Have
  • Bitcoin Daily Brief — September 7, 2026: $79,092 Close as the Squeeze Tightens to 13%; 50-Day Now $124 From the 200-Day
  • Decrease and Conquer in C++: Twelve LeetCode Problems That Throw the Search Space Away
  • Bitcoin Daily Brief — September 6, 2026: $80,339 Weekly Close Lands $4 Under the 50-Week Average; Golden Cross Due Tuesday
  • Prefix Sum in C++: Nine LeetCode Problems and One Equation
  • Bitcoin Daily Brief — September 5, 2026: $79,832 Close, Quietest Day of the Rally; Golden Cross Three Sessions Out
  • Cycle Sort in C++: Six LeetCode Array Problems That Are the Same Problem
  • Bitcoin Daily Brief — September 4, 2026: $79,675 Close, −2.0% on a Jobs Shock; ETFs Take $731M
  • Bitcoin Daily Brief — September 3, 2026: $81,264 Close, +5.1% on Waller’s Rate-Hold Signal, MACD Flips Back

Recent Posts

  • Bitcoin Daily Brief — September 16, 2026: BTC Rebounds 0.7% to $76,145 as the Fed Hikes for the First Time Since 2023; the Low Stops $24 Above Tuesday’s
  • Bitcoin Daily Brief — September 15, 2026: BTC Falls 3.3% to $75,584 as the CLARITY Act Fails in the Senate; Close Lands $96 Above the Lower Band
  • Bitcoin Daily Brief — September 14, 2026: BTC Rebounds 1.8% to $78,175; $80,000 High Rejected, MACD Narrows First Time in 11 Days
  • Bitcoin Daily Brief — September 13, 2026: A Quiet Sunday Sheds $463 as the Golden-Cross Gap Clears $1,000
  • After the Sort: Partition and Two Pointers in C++

Recent Comments

  • Roro on C++ Filestream

Archives

  • September 2026
  • August 2026
  • March 2026
  • February 2026
  • September 2025
  • February 2025
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2022
  • December 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2020
  • March 2020

Categories

  • Algorithm
  • bitcoin
  • C++
  • CSS
  • Data Structure
  • Go
  • Prompt Engineering
  • protobuf 3
  • Python 3
  • Stock Investment

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Terms and Conditions
  • Privacy Policy
  • Contact Us
Theme by Out the Box
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsOK
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT