#StackBounty: #symbols #lists #sorting #nomenclature #nomencl Sort entries under abbreviations and symbols according to their section

Bounty: 50

How do I sort the entries corresponding to each section of my document under abbreviations and symbols? In other words, I want a structure like this:

Abbreviations

Section 1

Section 2

Last section

Symbols

Section 1

Section 2

Last section

My code so far:

vspace{-4em}
makenomenclature
renewcommand{nomname}{}
% This code creates the groups
% -------------------------------------------
renewcommandnomgroup[1]{%
  item[bfseries
  ifstrequal{#1}{A}{Abbreviations}{%
  ifstrequal{#1}{B}{Symbols}{%
  ifstrequal{#1}{O}{Other Symbols}{}}}%
]}
% -------------------------------------------

begin{document}
% Add abbreviations and symbols below
% [A] = abbreviation, [B] = symbol

nomenclature[A]{TA}{Test abbreviation}
nomenclature[B]{$alpha$}{Test symbol}

printnomenclature[5 em] 
end{document}

This code only produces continuous lists of the abbreviations and symbols regardless of which section these entries belong to.


Get this bounty!!!

#StackBounty: #magento2 #magento2.3 #import #sorting #product-sorting Column 'created_at' not imported

Bounty: 50

My goal is to sort products on the frontend from newest to oldest.

The products CSV file contains the created_at column (e.g. 2020-10-31 14:05:44). Format seems to be correct.

After the standard import, I’m looking in the catalog_product_entity table, and created_at is actually the import’s timestamp (e.g. 2020-11-28 17:38:48).

Am I looking at the wrong DB field? Is there some locale-specific formatting under the hood? (I’m importing for the ro store)

References

Versions: Magento 2.3.5-p1, PHP 7.3.24


Get this bounty!!!

#StackBounty: #magento2 #magento2.3 #import #sorting #product-sorting Column 'created_at' not imported

Bounty: 50

My goal is to sort products on the frontend from newest to oldest.

The products CSV file contains the created_at column (e.g. 2020-10-31 14:05:44). Format seems to be correct.

After the standard import, I’m looking in the catalog_product_entity table, and created_at is actually the import’s timestamp (e.g. 2020-11-28 17:38:48).

Am I looking at the wrong DB field? Is there some locale-specific formatting under the hood? (I’m importing for the ro store)

References

Versions: Magento 2.3.5-p1, PHP 7.3.24


Get this bounty!!!

#StackBounty: #magento2 #magento2.3 #import #sorting #product-sorting Column 'created_at' not imported

Bounty: 50

My goal is to sort products on the frontend from newest to oldest.

The products CSV file contains the created_at column (e.g. 2020-10-31 14:05:44). Format seems to be correct.

After the standard import, I’m looking in the catalog_product_entity table, and created_at is actually the import’s timestamp (e.g. 2020-11-28 17:38:48).

Am I looking at the wrong DB field? Is there some locale-specific formatting under the hood? (I’m importing for the ro store)

References

Versions: Magento 2.3.5-p1, PHP 7.3.24


Get this bounty!!!

#StackBounty: #magento2 #magento2.3 #import #sorting #product-sorting Column 'created_at' not imported

Bounty: 50

My goal is to sort products on the frontend from newest to oldest.

The products CSV file contains the created_at column (e.g. 2020-10-31 14:05:44). Format seems to be correct.

After the standard import, I’m looking in the catalog_product_entity table, and created_at is actually the import’s timestamp (e.g. 2020-11-28 17:38:48).

Am I looking at the wrong DB field? Is there some locale-specific formatting under the hood? (I’m importing for the ro store)

References

Versions: Magento 2.3.5-p1, PHP 7.3.24


Get this bounty!!!

#StackBounty: #magento2 #magento2.3 #import #sorting #product-sorting Column 'created_at' not imported

Bounty: 50

My goal is to sort products on the frontend from newest to oldest.

The products CSV file contains the created_at column (e.g. 2020-10-31 14:05:44). Format seems to be correct.

After the standard import, I’m looking in the catalog_product_entity table, and created_at is actually the import’s timestamp (e.g. 2020-11-28 17:38:48).

Am I looking at the wrong DB field? Is there some locale-specific formatting under the hood? (I’m importing for the ro store)

References

Versions: Magento 2.3.5-p1, PHP 7.3.24


Get this bounty!!!

#StackBounty: #magento2 #magento2.3 #import #sorting #product-sorting Column 'created_at' not imported

Bounty: 50

My goal is to sort products on the frontend from newest to oldest.

The products CSV file contains the created_at column (e.g. 2020-10-31 14:05:44). Format seems to be correct.

After the standard import, I’m looking in the catalog_product_entity table, and created_at is actually the import’s timestamp (e.g. 2020-11-28 17:38:48).

Am I looking at the wrong DB field? Is there some locale-specific formatting under the hood? (I’m importing for the ro store)

References

Versions: Magento 2.3.5-p1, PHP 7.3.24


Get this bounty!!!

#StackBounty: #magento2 #magento2.3 #import #sorting #product-sorting Column 'created_at' not imported

Bounty: 50

My goal is to sort products on the frontend from newest to oldest.

The products CSV file contains the created_at column (e.g. 2020-10-31 14:05:44). Format seems to be correct.

After the standard import, I’m looking in the catalog_product_entity table, and created_at is actually the import’s timestamp (e.g. 2020-11-28 17:38:48).

Am I looking at the wrong DB field? Is there some locale-specific formatting under the hood? (I’m importing for the ro store)

References

Versions: Magento 2.3.5-p1, PHP 7.3.24


Get this bounty!!!

#StackBounty: #algorithms #time-complexity #data-structures #sorting #arrays Find $k$'th smallest element in matrix with sorted rows

Bounty: 100

This is very hard question as mentioned on some site on google and firstly introduce on Interview Amazon Question.

We have an $mtimes n$ matrix in which all rows are sorted in ascending order and all elements are distinct. We want to find the $k$-th smallest element in this matrix.

There is an $O(m (log m + log n))$ algorithm for doing this!

I see lots of posts, especially here, but as Yuval Filmus mentioned in comments there are difference in large value of $k$.

We are familiar with median of medians method that throw half of elements with median, but here there is a very challenging question. How is this time complexity reached?

Update: this is exactly copy of one Ex. in Jeff Algorithms Book (Book Page 55 Ex: 21 Part C, Chapter Recursion :

enter image description here

As Yuval tell in comments, the previous question algorithms not complete so this is a good question for a complete algorithm in given time complexity.

Update 2: this is local multiple choice interview questions that we should choose the best option as the time complexity that I mentioned in my question (options listed here).

enter image description here


Get this bounty!!!

#StackBounty: #algorithms #time-complexity #data-structures #sorting #arrays Find $k$'th smallest element in matrix with sorted rows

Bounty: 100

This is very hard question as mentioned on some site on google and firstly introduce on Interview Amazon Question.

We have an $mtimes n$ matrix in which all rows are sorted in ascending order and all elements are distinct. We want to find the $k$-th smallest element in this matrix.

There is an $O(m (log m + log n))$ algorithm for doing this!

I see lots of posts, especially here, but as Yuval Filmus mentioned in comments there are difference in large value of $k$.

We are familiar with median of medians method that throw half of elements with median, but here there is a very challenging question. How is this time complexity reached?

Update: this is exactly copy of one Ex. in Jeff Algorithms Book (Book Page 55 Ex: 21 Part C, Chapter Recursion :

enter image description here

As Yuval tell in comments, the previous question algorithms not complete so this is a good question for a complete algorithm in given time complexity.

Update 2: this is local multiple choice interview questions that we should choose the best option as the time complexity that I mentioned in my question (options listed here).

enter image description here


Get this bounty!!!