Karthikeya Boyini has Published 2383 Articles

Creating a Priority Queue using Javascript

karthikeya Boyini

karthikeya Boyini

Updated on 15-Jun-2020 08:54:25

397 Views

Our class will have the following functions −enqueue(element): Function to add an element in the queue.dequeue(): Function that removes an element from the queue.peek(): Returns the element from the front of the queue.isFull(): Checks if we reached the element limit on the queue.isEmpty(): checks if the queue is empty.clear(): Remove ... Read More

Popping elements from a Stack in Javascript

karthikeya Boyini

karthikeya Boyini

Updated on 15-Jun-2020 08:38:10

210 Views

Consider a simple stack class in Javascript.Exampleclass Stack {    constructor(maxSize) {       // Set default max size if not provided       if (isNaN(maxSize)) {          maxSize = 10;       }       this.maxSize = maxSize; // Init an array ... Read More

Clearing the elements of a Stack in Javascript

karthikeya Boyini

karthikeya Boyini

Updated on 15-Jun-2020 08:31:33

677 Views

Consider a simple stack class in Javascript. Exampleclass Stack {    constructor(maxSize) {       // Set default max size if not provided       if (isNaN(maxSize)) {          maxSize = 10;       }       this.maxSize = maxSize; // Init an array ... Read More

SAP UI5 framework and comparison with JQuesry and Backbone, Angular, etc.

karthikeya Boyini

karthikeya Boyini

Updated on 15-Jun-2020 07:32:18

127 Views

The SAPUI5 framework is the original version of the SAP toolkit which was released initially. This version of the toolkit is a proprietary version. Later SAP released an Open source version of it named OpenUI5. Functionally it is almost equivalent in terms of basic operations negating few features but overall ... Read More

Disable a pagination link with Bootstrap

karthikeya Boyini

karthikeya Boyini

Updated on 15-Jun-2020 06:23:56

808 Views

Use the .disabled class in Bootstrap with the .pagination to disable a pagination link.You can try to run the following code to disable pagination linkExampleLive Demo           Bootstrap Example                                              Java Tutorial          The following are the lessons of Java Tutorial:                       1             2             3             4             5             6             7             8                    

HTML DOM Input Month max Property

karthikeya Boyini

karthikeya Boyini

Updated on 13-Jun-2020 08:45:30

73 Views

The HTML DOM input month max property returns and modify the value of the max attribute of the input field of type=”month” in a HTML document.SyntaxFollowing is the syntax −1. Returning maxobject.max2. Modifying maxobject.max = “YYYY-MM”Here, YYYY represent year and MM represent month like “2019-02”ExampleLet us see an example of ... Read More

Force an element to be hidden with Bootstrap

karthikeya Boyini

karthikeya Boyini

Updated on 12-Jun-2020 22:09:18

94 Views

Use the .hidden class in Bootstrap to force an element to be hiddenExampleLive Demo           Bootstrap Example                                 This is visible.       This is hidden.    

Bootstrap progress class

karthikeya Boyini

karthikeya Boyini

Updated on 12-Jun-2020 21:49:14

119 Views

Use the .progress class in Bootstrap to create a progress bar. The class is a container for progress bars.You can try to run the following code to implement progress class in BootstrapExampleLive Demo           Bootstrap Example                                                       90% Complete                    

Indicate collapsible content that can be hidden or shown with Bootstrap

karthikeya Boyini

karthikeya Boyini

Updated on 12-Jun-2020 21:22:44

74 Views

Use the .collapse class in Bootstrap to indicate collapsible content that can be hidden or shownExampleLive Demo           Bootstrap Example                                          More learning content          More                       We have learning content on Java, PHP, Ruby, C, C++, etc.                    

Make a Bootstrap button group appear vertically stacked

karthikeya Boyini

karthikeya Boyini

Updated on 12-Jun-2020 20:52:36

1K+ Views

Use the .btn-group-vertical class in Bootstrap to make a button group appear vertically stacked.You can try to run the following code to implement a .btn-group-vertical classExampleLive Demo           Bootstrap Example                         ... Read More

Advertisements