AmitDiwan has Published 10744 Articles

Substring combination in JavaScript

AmitDiwan

AmitDiwan

Updated on 24-Feb-2021 16:12:50

234 Views

We are required to write a JavaScript function that takes in two strings as the first and the second argument. Let's call these strings str1 and str2. The function should check whether there exists a substring combination in str2, that when combined yields str2.By substring combination, we mean that we ... Read More

Determining a pangram string in JavaScript

AmitDiwan

AmitDiwan

Updated on 24-Feb-2021 16:11:26

3K+ Views

Pangram strings:A pangram is a string that contains every letter of the English alphabet.We are required to write a JavaScript function that takes in a string as the first and the only argument and determines whether that string is a pangram or not. For the purpose of this problem, we ... Read More

Calculating the weight of a string in JavaScript

AmitDiwan

AmitDiwan

Updated on 24-Feb-2021 16:09:53

834 Views

Weight of a character (alphabet):The weight of an English alphabet is nothing just its 1-based index.For example, the weight of 'c' is 3, 'k' is 11 and so on.We are required to write a JavaScript function that takes in a lowercase string and calculates and returns the weight of that ... Read More

Finding minimum deletions in string in JavaScript

AmitDiwan

AmitDiwan

Updated on 24-Feb-2021 16:06:56

178 Views

Suppose we have a binary string like this −const str = '001001';We are required to write a JavaScript function that takes in one such string as the first and the only argument.The function should then compute and return the number of minimum deletions required in the input so that no ... Read More

2 Key keyboard problem in JavaScript

AmitDiwan

AmitDiwan

Updated on 24-Feb-2021 14:30:56

215 Views

Suppose the following situation −Initially on a notepad only one character 'A' is present. We can perform two operations on this notepad for each step −Copy All − We can copy all the characters present on the notepad (partial copy is not allowed).Paste − We can paste the characters which were ... Read More

What are the new features in MySQL 8.0

AmitDiwan

AmitDiwan

Updated on 24-Feb-2021 13:41:41

850 Views

MySQL is a very powerful program in its own right. It handles a large subset of the functionality of the most expensive and powerful database packages. It uses a standard form of the well-known SQL data language. MySQL 8.0 released on 19 April 2018 and the current version is 8.0.23.The ... Read More

What are the features that are added in MySQL 8.0?

AmitDiwan

AmitDiwan

Updated on 24-Feb-2021 12:43:40

266 Views

Let us understand the features that were added to MySQL 8.0Security Levels EnhancedThe security levels have been improved, and DBA (Database administrator) has been given greater flexibility for account management.Resource GroupsResource groups can be created and managed, and the server has the ability to assign threads to resources of specific ... Read More

What are the features that were deprecated in MySQL 8.0?

AmitDiwan

AmitDiwan

Updated on 24-Feb-2021 12:32:57

2K+ Views

Some of the features that have been deprecated may be removed in the upcoming versions of MySQL. If applications use the features that have been deprecated in that specific version, that feature should be revised and alternatives should be used wherever possible.Let us understand in brief, the features that have ... Read More

What are the features that were removed in MySQL 8.0?

AmitDiwan

AmitDiwan

Updated on 24-Feb-2021 12:17:35

671 Views

Some of the features have become obsolete and have been removed from MySQL 8.0. When alternatives to these removed items are shown, they need to be used to avoid further complications.The ‘innodb_locks_unsafe_for_binlog’ system variable has been removed.The ‘READ COMMITTED’ isolation level can be used since it behaves in a similar ... Read More

What are the options and variables introduced in MySQL 8.0?

AmitDiwan

AmitDiwan

Updated on 24-Feb-2021 12:10:15

203 Views

Some of the options and variables newly introduced in MySQL 8.0 have been listed below:Com_clone: It refers to the number of CLONE statements. It was added in MySQL 8.0.2.Com_create_role: It refers to the number of CREATE ROLE statements that are used. It was added in MySQL 8.0.0.Com_drop_role: It refers to ... Read More

Advertisements