<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: l0l0l0l</title>
    <description>The latest articles on DEV Community by l0l0l0l (@l0l0l0l).</description>
    <link>https://dev.to/l0l0l0l</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F170507%2F50f6b7a5-5058-4718-b319-679647becdf4.png</url>
      <title>DEV Community: l0l0l0l</title>
      <link>https://dev.to/l0l0l0l</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/l0l0l0l"/>
    <language>en</language>
    <item>
      <title>Bubble Sort in Java</title>
      <dc:creator>l0l0l0l</dc:creator>
      <pubDate>Tue, 17 Sep 2019 08:04:18 +0000</pubDate>
      <link>https://dev.to/l0l0l0l/bubble-sort-in-java-2ogg</link>
      <guid>https://dev.to/l0l0l0l/bubble-sort-in-java-2ogg</guid>
      <description>&lt;p&gt;Bubble sort is one of the simplest sorting algorithms and really intuitive to understand. We compare adjacent elements and see if their order is wrong (a[i] &amp;gt; a[j] for 1 &amp;lt;= i &amp;lt; j &amp;lt;= size of array; if array is to be in ascending order, and vice-versa). If yes, then swap them.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Implementation of Bubble Sort in Java:
import java.util.Scanner;
class BubbleSort {
  public static void main(String []args) {
    int n;
    Scanner in = new Scanner(System.in);
 System.out.println("Input number of integers to sort");
    n = in.nextInt();
    int array[] = new int[n];
     System.out.println("Enter " + n + " integers");
     for (int i = 0; i &amp;lt; n; i++)
      array[i] = in.nextInt();

    for (int i = 0; i &amp;lt; n - 1; i++) {
   Boolean swapped = false;
      for (int j = 0; j &amp;lt; n - i - 1; j++) {
        if (array[j] &amp;gt; array[j+1]) /* For descending order use &amp;lt; */
        {
          int temp = array[j];
          array[j]= array[j+1];
          array[j+1] = temp;

      swapped = true;
        }
      }
   if(!swapped)
      break;
   } 
System.out.println("Sorted list of numbers:");
for (int i = 0; i &amp;lt; n; i++)
System.out.println(array[i]);
  }
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Orignally posted on &lt;a href="https://www.interviewbit.com/tutorial/bubble-sort/"&gt;interviewbit&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>bubblesort</category>
      <category>tutorial</category>
      <category>algorithms</category>
      <category>sortingalgorithm</category>
    </item>
    <item>
      <title>How to get into Top Tech Companies - Secrets Revealed :)</title>
      <dc:creator>l0l0l0l</dc:creator>
      <pubDate>Tue, 30 Jul 2019 17:18:20 +0000</pubDate>
      <link>https://dev.to/l0l0l0l/how-to-get-into-top-tech-companies-secrets-revealed-2nh7</link>
      <guid>https://dev.to/l0l0l0l/how-to-get-into-top-tech-companies-secrets-revealed-2nh7</guid>
      <description>&lt;p&gt;If you are looking to get into top tech companies and want to know what happens behind the scenes then do watch the following video.&lt;/p&gt;

&lt;p&gt;The Video covers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How to get a job in top tech companies&lt;/li&gt;
&lt;li&gt;Clearing myths and doubts&lt;/li&gt;
&lt;li&gt;What skills are required to get into these top tech companies&lt;/li&gt;
&lt;li&gt;Useful tips and Resources&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/WfqU3RVcieM"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Hope it helps. :)&lt;/p&gt;

</description>
      <category>codinginterview</category>
      <category>amazon</category>
      <category>facebook</category>
      <category>google</category>
    </item>
    <item>
      <title>SQL- Overview and Types of commands</title>
      <dc:creator>l0l0l0l</dc:creator>
      <pubDate>Thu, 23 May 2019 08:13:23 +0000</pubDate>
      <link>https://dev.to/l0l0l0l/sql-overview-and-types-of-commands-3pd7</link>
      <guid>https://dev.to/l0l0l0l/sql-overview-and-types-of-commands-3pd7</guid>
      <description>&lt;p&gt;SQL is the language which is used to store data, retrieve the same, and manipulate data in a Relational Database System.&lt;/p&gt;

&lt;p&gt;SQL commands are guidelines that are utilized to cooperate with the database like Sql Server, MySql, Oracle and so on. SQL directions are mindful to create and to do all the control on the database. These are likewise mindful to give/take out access rights on a specific database.&lt;/p&gt;

&lt;p&gt;The following are the types of SQL commands to begin with:&lt;/p&gt;

&lt;p&gt;1.DML (data manipulation language)&lt;br&gt;
2.DDL (data definition language)&lt;br&gt;
3.DQL (data query language)&lt;br&gt;
4.TCL (transaction control language)&lt;br&gt;
5.DCL (data control language)&lt;/p&gt;

&lt;p&gt;Let us look at each of the command types in depth.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.DML (data manipulation language)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When the tables are made and database is produced utilizing DDL directions, control inside those tables and databases is finished utilizing DML directions. The benefit of utilizing DML directions is, if in the event that any wrong changes or qualities are made, they can be changes and moved back effectively. DML directions incorporates:&lt;/p&gt;

&lt;p&gt;INSERT&lt;br&gt;
UPDATE&lt;br&gt;
DELETE&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.DDL (data definition language)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So as to make/perform changes on the physical structure of any table dwelling inside a database, DDL is utilized. These directions when executed are auto-commit in nature and every one of the adjustments in the table are reflected and spared right away. DDL directions incorporates:&lt;/p&gt;

&lt;p&gt;CREATE TABLE&lt;br&gt;
ALTER TABLE&lt;br&gt;
DROP TABLE&lt;br&gt;
CREATE INDEX&lt;br&gt;
ALTER INDEX&lt;br&gt;
DROP INDEX&lt;br&gt;
CREATE VIEW&lt;br&gt;
DROP VIEW&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.DQL (data query language)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Data Query language comprises of just a single command over which information choice in SQL depends. SELECT command in combination with other SQL clauses is used to retrieve information from database table(s) based on specific conditions as requested by the client.&lt;/p&gt;

&lt;p&gt;SELECT &lt;/p&gt;

&lt;p&gt;This order, joined by numerous alternatives and provisos, is utilized to make queries against a social database. Queries, from easy to complex, from obscure to explicit, can be effectively made.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4.TCL (transaction control language)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;SQL TCL directions are utilized to deal with changes which influence the information in database. Essentially we use these directions within the transaction or to influence a steady point amid changes in database at which we can later rollback the database state whenever required. In this class we have SAVEPOINT, ROLLBACK and COMMIT directions.&lt;/p&gt;

&lt;p&gt;COMMIT Saves database exchanges &lt;/p&gt;

&lt;p&gt;ROLLBACK Undoes database exchanges &lt;/p&gt;

&lt;p&gt;SAVEPOINT Creates focus points inside gatherings of transactions in which to ROLLBACK &lt;/p&gt;

&lt;p&gt;SET TRANSACTION Places a name on an exchange or also termed as a transaction&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.DCL (data control language)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Data management or control commands in SQL permit you to regulate access to information inside the database. These DCL commands are commonly accustomed to produce objects associated with user access and conjointly manage the distribution of privileges among users. Some information management commands or commonly called as Data control commands are as follows:&lt;/p&gt;

&lt;p&gt;ALTER PASSWORD&lt;br&gt;
GRANT&lt;br&gt;
REVOKE&lt;br&gt;
CREATE SYNONYM&lt;br&gt;
You will notice that these commands are usually classified with alternative commands.&lt;/p&gt;

&lt;p&gt;Another command which is of much use but is not displayed under the above mentioned categories is the Data Administration commands.&lt;/p&gt;

&lt;p&gt;Data management instructions or called as Data Administration commands, allow the person to perform audits and carry out analyses on operations within the database. They can also be used to assist the examination of system performance. The two preferred information administration instructions are as follows:&lt;/p&gt;

&lt;p&gt;START AUDIT&lt;br&gt;
STOP AUDIT&lt;/p&gt;

&lt;p&gt;Data Administration should not be confused with Database Administration. Database Administration deals with the entire management of the database, which incorporates the use of commands at all levels. Hence, it is more related to individual SQL implementations, compared to the core commands in SQL language.&lt;/p&gt;

&lt;p&gt;This is my first post on Dev. :) Most of the references are taken from &lt;a href="https://www.interviewbit.com/courses/databases/topics/sql-queries/"&gt;interviewbit&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>sql</category>
      <category>tutorial</category>
      <category>computerscience</category>
      <category>todayilearned</category>
    </item>
  </channel>
</rss>
