Help understanding range function and array indexing [closed]

I’m working on understanding the below solution of rotating an array of integers in Python:

  1. Does the range function start counting at 0?
  2. Do we assume array indexing starts goes 0,1,2… or 1,2,3…?
  3. Why do we need to transfer the rotated values from the new array a to the old array nums (last line)?


class Solution:     def rotate(self, nums: List[int], k: int) -> None:         n = len(nums)         a = [0] * n         for i in range(n):             a[(i + k) % n] = nums[i]                      nums[:] = a 

It is supposed to work as follows: Input: nums = [1,2,3,4,5,6,7], k = 3 Output: [5,6,7,1,2,3,4]

google search console – error indexing

I have a site built with WordPress. Initially, because the default content of the template was indexed in Google, I decided to remove those urls through the removals section in the Google console search. I also enabled the nofollow and noindex tags for all posts and tabs via the yoast plugin. After that, when I searched site:, there was no address. When I tried to index the home page again from the Google console search,, I came across a noindex error while I had previously removed the tags. Other pages do not provide this error, but I will encounter a URL error that will be indexed only if certain conditions are met in livetest. I don’t know why in the beginning, even though I didn’t create a sitemap, everything was normal and the pages were indexed quickly, but after I deleted the previous urls and added new ones, the pages don’t index. Of course, the last time Google crawled the home page was on May 26.

Some confusion about indexing

Recently I procured GSA SER EN software. I had GSA SEO indexer. I started a project in GSA SER EN using option with indexing with GSA SEO indexer. But unfortunately I found it does not send automatically but I need to press button “test”. After pressing test button, it send ONLY 10 links to my GSA SEO indexer while my GSA SER EN shows already 970 dofollow links have been created.
Thus, I tried to configure Elite indexer with proper API Key but it also does not send any link automatically I need to press button “test” and after that it send only 10 links to Elite indexer too.
Very confusing. Could you please guide me how to correct this? May be I am configuring something wrong.

★★★★★ Link Processor: Indexing + Crawling + Link Pushing – The Best GSA Indexer – $9.95


If Search Engines Can’t Find Your Backlinks
You’re Wasting Time and Money!

Push Power to Your Backlinks and
Get Your Site Ranked Higher with Link Processor!

100% Guaranteed Link Crawling Service

Starting from $ 9.95

Easy To Use

Just submit a link to us and we will do the rest. All you need is to do is just copy and paste your backlinks and we will do all the hard work. You don’t need to worry about the technical details.

100% Automated

Link Processor is a fully automated online service. The backend of our system contains strong servers that are working 24/7 to process your backlinks.

Integrate and Automate with other SEO Tools

Using API and RPC ping services you can integrate any SEO tool and send links from it to us automatically.

3 Circles Of Link Processing

We will send each and every link you submit to 3 circles of link processing. We will make sure that every link is getting maximum exposure.

Made by SEO Experts

Link Processor is a team of programmers and SEO experts who have over 10 years experience in the SEO business and understand how to use SEO and link building to give your business the boost it needs online.

Cloud Linux Scalability

When you sign up you get allocated CPU & Memory recourses. With this cutting-edge system our service can grow without any down time.


>>> Visit

3 Circles Of Link Processing

We will ensure that each of your links get attention from search engines, and get extra link juice that will pass power to all upper layers.


Circle #1
Multiple Direct RPC Pinging + Sitemap Pinging + RSS Pinging

In the first run we will take each of your backlinks and ping it directly several times.
Links will be added to sitemaps and RSS feeds and then pinged again. This is how all other link processing services works, but we don’t stop here.

Circle #2
In-house Link Crawling Formula

On a parallel server we will process each of your backlinks through our proven in-house link crawling system.
This powerful formula will maximize the possibility of your backlinks being indexed in search engines.

Circle #3
Link Pushing through Authority Link Filter

Our 3rd cloud server will work on pushing your backlinks.
Each and every link will be submitted to authority filter sites like whois, redirect, stats… etc.
We will then invite crawlers to visit each of these links.
Depending on what subscription package you choose, we will send each of your links to 30 to 500 link pushing services.

>>> Visit

Here are some of reviews from GSA users during our beta testing. For more reviews browse the thread below.

“…I never ever had such a good indexing rate in such a low period of time (in a few hours).”

“I’m getting over 50% index rate. Much much better then other services…”

“Seems to be doing the job! Excellent indexing rate…”

“Indexing rate vary from 30% to up to 80%…”

“From 2000 Wiki live pages, after less then 24 hours, 1409 are indexed.”


What are recognized ways for searching a specific string like “video234.mp4” in the DOM of a large indexing site with pre-existing pages?

I’m trying to search off a whole site for specific string in the source code of a specific page that exists on the site, I’m thinking of a scrawler to do this, is a scrawler intended to do this or are there more efficient way?

Unlike indexing sites like Google etc, which results can vary even if the same request is made another time, this site does only have pages created by the user which makes it a bit more easier to make it possible to search off the site. The content isn’t served by javascript so this isn’t an obstacle.

Indexing only for most recent entries

Consider the following table:

|-----------------------------------------------------| | raffle                                              | |----|---------|----------|-----|---------------------| | id | shuffle |  user_id | ... |           notify_at | |----|---------|----------|-----|---------------------| | 1  | 4D6G8Z1 |      542 | ... | 2019-12-01 14:00:00 | | 2  | 64G264D |        6 | ... | 2019-12-28 14:00:00 | | 3  | 4IPF93D |       58 | ... | 2020-01-01 14:00:00 | | 4  | D25LF03 |       58 | ... | 2020-01-14 14:00:00 | | 5  | G04LDWE |      684 | ... | 2020-03-02 13:00:00 | 

In this table, most requests are not done to the id column, but to the user_id and created_at, which is a 64-bit timestamp (no 2038 Bug):

SELECT * FROM [raffle] WHERE [user_id] = ? and [created_at] = ? 

The table grows by the minute, but that is not the problem, but rather, the records for the notify_at in the current month are most accessed than the rest. In 10.000.000 records, an index of the user_id and notify_at sums 160MB, which only 1% of these are heavily accessed.

Is there a way to optimize an index (or any other strategy) to make retrieval of the records for the current month snapier?