Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Longest Palindromic Substring using hashing in O(nlogn)
Blog

Longest Palindromic Substring using hashing in O(nlogn)

by Rubin|Published December 22, 2022

Given a string S, The task is to find the longest substring which is a palindrome using hashing in O(N log N) time.  Input: S:… Read More

The post Longest Palindromic Substring using hashing in O(nlogn) appeared first on GeeksforGeeks.

You may also like

Magento 2 preview throws error with query string
Published November 21, 2023

Magento 2 preview throws error with query string

I am using elasticsuits and added new optimizer, when tried to preview with query string it is throwing error like Exception #0 […]

Published June 8, 2026

How to make PHPSESSID secure and set sameSite to Strict

We are unable to set PHPSESSID secure and set sameSite value to Strict, does anyone have any idea how we can set […]

Published January 2, 2020

Adding selected items on a page to a separate block

Please help with the implementation of this functionality. I have a separate module with a separate route. There will be elements on […]

How can I send data from observer to block and I want to retrieve from block to phtml in Magento 2
Published July 24, 2023

How can I send data from observer to block and I want to retrieve from block to phtml in Magento 2

I created an event in custom module admin . After caling event need to send data from observer to phtml page on […]

Interesting

  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
  • Is this the best way to rename multiple files in a Window folder using PowerShell?
  • When should I be using a fan controller over the ones on the motherboard?
  • Windows 11 taskbar search keeps loading forever and never shows results

Post navigation

  • Previous post Is there any command line to open an existing image with Snip & Sketch?
  • Back to post list
  • Next post Count number of ways to generate digit K at the end.
——————-
  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme