dart

How to remove and retain items from Queue in Dart with condition

Learn to remove and retain dart queue items with given condition. We will learn how to use the removeWhere and retainWhere methods of Dart Queue with example for each.

Read
dart

How to add and remove items from a Queue in Dart

How to add and remove items from a Queue in Dart. It will show how to add single element, multiple elements, add an element to the start or end, remove all elements, remove a single element, remove the first and the last element and remove specific elements from a queue.

Read
dart

Introduction to Queue in Dart and its methods

Learn how to implement Queue in Dart. Learn the constructors, properties and methods of the queue class in Dart.

Read
dart

5 ways in Dart to print the multiplication table

Dart program to print the multiplication table of a number. This post will show you five different ways to print the multiplication table of a user given number.

Read
dart

Dart StringBuffer class explanation with examples

Dart StringBuffer class explanation with examples. The StringBuffer class is used to concatenate strings efficiently in Dart. This post will show you how to add a newline, string and iterable to a StringBuffer.

Read
dart

How to create a string from ASCII values in Dart

Learn how to create string from ASCII in Dart. We will also learn how to convert a string to a list of ASCII values in Dart.

Read
C++

C++ program to find the smallest and the second smallest numbers

C++ program to find the smallest and the second smallest numbers in an array. Learn three different ways in this post with examples.

Read
javascript

JavaScript replace multiple characters using single replace call

JavaScript program to replace multiple characters of a string with one single replace call. This post will show you different examples with the replace() method and replaceAll() method with regex.

Read
python

Python id() function explanation with examples

This post will show you how id() function works in Python. The id() function is used to get the identity of an object. Learn how this function works with different examples.

Read
C++

C++ class destructor explanation with examples

Learn what is a destructor in a class in C++ with examples. This post will show you how destructors are defined, and how they works with different examples.

Read