A new idea to solve RMQ problem

Правка en2, от FeS2_qwq, 2024-08-15 10:42:25

A few days ago I post an idea at a Chinese Online Judge named Luogu.This is my first idea created by myself to solve RMQ problem. Unfortunately it's Chinese.The basic idea is divide the array into $$$n^\frac{4}{7}$$$ part,each part has a length of $$$n^\frac{3}{7}$$$.We name it as a "big block".Then we divide each block into $$$n^\frac{2}{7}$$$ part,each part has a length of $$$n^\frac{1}{7}$$$.Thus it can has a time complexity of $$$O(n^\frac{7}{8})$$$.It is quicker than ST Table both in theory and practice.

To be continued...

Теги rmq, new algo, algorithms, data structures

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en17 Английский FeS2_qwq 2024-08-19 09:11:31 1 Tiny change: 'there is a algo call' -> 'there is an algo call'
en16 Английский FeS2_qwq 2024-08-16 11:35:24 1 Tiny change: 'sh.It is a algo of $' -> 'sh.It is an algo of $'
en15 Английский FeS2_qwq 2024-08-16 11:21:37 0 (published)
en14 Английский FeS2_qwq 2024-08-16 11:20:17 126 (saved to drafts)
en13 Английский FeS2_qwq 2024-08-16 10:00:36 0 (published)
en12 Английский FeS2_qwq 2024-08-16 10:00:24 4 Tiny change: 'O(n^\frac{7}{8})$.It is ' -> 'O(n^\frac{8}{7})$.It is ' (saved to drafts)
en11 Английский FeS2_qwq 2024-08-16 09:53:58 0 (published)
en10 Английский FeS2_qwq 2024-08-16 09:53:45 0 (saved to drafts)
en9 Английский FeS2_qwq 2024-08-16 09:47:00 0 (published)
en8 Английский FeS2_qwq 2024-08-16 09:46:45 65 (saved to drafts)
en7 Английский FeS2_qwq 2024-08-16 09:44:11 0 (published)
en6 Английский FeS2_qwq 2024-08-16 09:43:48 2 Tiny change: 'f $O(n\alpga(n))$\n\n' -> 'f $O(n\alpha(n))$\n\n'
en5 Английский FeS2_qwq 2024-08-16 09:43:26 31 Tiny change: 'ed,finish.\n\nFeS2_q' -> 'ed,finish.It is a algo of $O(n\alpga(n))$\n\nFeS2_q'
en4 Английский FeS2_qwq 2024-08-16 09:42:29 919
en3 Английский FeS2_qwq 2024-08-16 09:10:51 454
en2 Английский FeS2_qwq 2024-08-15 10:42:25 22 Tiny change: 'ctice.\n\n' -> 'ctice.\n\nTo be continued...\n\n'
en1 Английский FeS2_qwq 2024-08-15 10:40:47 530 Initial revision (saved to drafts)