×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Login
Packages
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Login
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Selected Reading
UPSC IAS Exams Notes
Developer's Best Practices
Questions and Answers
Effective Resume Writing
HR Interview Questions
Computer Glossary
Who is Who
Jai Janardhan
has Published
98
Answers
Merge Sort
Sorting Algorithm
Algorithms
Data Structure
Jai Janardhan
Published on 06-Jul-2018 15:48:51
The merge sort technique is based on divide and conquers technique. We divide the whole dataset into smaller parts and merge them into a larger piece in sorted order. It is also very effective for worst cases because this algorithm has lower time complexity for the worst case also.The complexity ...
Read More
Comb Sort
Algorithms
Sorting Algorithm
Data Structure
Jai Janardhan
Published on 06-Jul-2018 14:47:54
The basic idea of comb sort and the bubble sort is same. In other words, comb sort is an improvement on the bubble sort. In the bubble sorting technique, the items are compared with the next item in each phase. But for the comb sort, the items are sorted in ...
Read More
What is the difference between java method and native method?
Java 8
Object Oriented Programming
Programming
Jai Janardhan
Published on 23-Apr-2018 15:31:02
Yes, native methods are methods whose implementation is written in a different language than Java. Following are the steps to use native methods.Create a header file (.h file) for a C program.Create C file Create a DLLIn java code, declare the method as native, load the DLL using System.loadLibrary() method and ...
Read More
Find the 2nd largest number in a Java array.
Java Programming
Java8
Object Oriented Programming
Jai Janardhan
Published on 23-Apr-2018 12:34:51
ExampleFollowing is the required program.Live Demopublic class Tester { public static int getSecondLargest(int[] a) { int temp; //sort the array for (int i = 0; i < a.length; i++) { for (int j = i + ...
Read More
Selection sort in Java.
Java Programming
Java8
Object Oriented Programming
Jai Janardhan
Published on 23-Apr-2018 11:28:59
Following is the required program.ExampleLive Demopublic class Tester { public static void selectionSort(int[] arr){ for (int i = 0; i < arr.length - 1; i++){ int index = i; for (int j = i + 1; ...
Read More
How to set the right margin of an element with JavaScript?
Javascript
Web Development
Front End Scripts
Jai Janardhan
Published on 27-Feb-2018 18:11:06
Use the marginRight property in JavaScript, to set the right margin. You can try to run the following code to set the right margin of an element with JavaScript −ExampleLive Demo<!DOCTYPE html> <html> <head> <style> #myID { ...
Read More
How to set the position of the list-item marker with JavaScript?
Javascript
Web Development
Front End Scripts
Jai Janardhan
Published on 27-Feb-2018 17:53:55
To set the position of the marker of the list-item, use the listStylePosition property. You can try to run the following code to set the position of the list-item marker with JavaScript −ExampleLive Demo<!DOCTYPE html> <html> <body> <ol id="myID"> <li>One</li> ...
Read More
How to set whether the style of the font is normal, italic or oblique with JavaScript?
Javascript
Web Development
Front End Technology
Jai Janardhan
Published on 27-Feb-2018 17:32:25
To set the style of the font, use the fontStyle property. You can try to run the following code to set the style of the font to normal, italic or oblique with JavaScript −ExampleLive Demo<!DOCTYPE html> <html> <body> <h1>Heading 1</h1> <p id="myID"> ...
Read More
How to set whether the image-border should be repeated, rounded or stretched with JavaScript?
Javascript
Web Development
Front End Scripts
Jai Janardhan
Published on 27-Feb-2018 15:15:31
Use the borderImageRepeat property to set whether the image-border is to be repeated, rounded, or stretched.ExampleYou can try to run the following code to learn how to set whether image-border is to be repeated, rounder or stretched −Live Demo<!DOCTYPE html> <html> <head> <style> ...
Read More
How to set the width of the top border with JavaScript?
Javascript
Web Development
Front End Scripts
Jai Janardhan
Published on 27-Feb-2018 10:59:11
To set the width of the top border in JavaScript, use the borderTopWidth property. Set the width of the top border using this property.ExampleYou can try to run the following code to learn how to set the width of the top border with JavaScript −Live Demo<!DOCTYPE html> <html> <head> ...
Read More
Previous
1
2
3
4
5
6
7
...
10
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout