Skip to main content

Transfer google play balance to Paytm, PhonePe, Google Pay or any UPI linked bank account.

To transfer google play balance, opinion rewards or gift cards to PayPal, Paytm, PhonePe, Google Pay or any UPI ID linked bank account , you can use QxCredit :Rewards Convertor app which is available on google play store: You will get back 80% of the google play balance. App link:  https://play.google.com/store/apps/details?id=qxcoding.qx_credit_reboot Follow these steps to transfer your play balance to paypal or UPI: 1) download app from play store. 2) login with your google account and phone number. 3) choose a token amount which you want to convert/transfer. 4) Enter your payout details.(UPI ID or PayPal Email) 5) wait for an acknowledgement mail form qxcredit containing information about your purchased token. 6) you will receive the amount within 3 days. 7) if you face any issues you can raise a query on website: https://qx-credit.web.app/#/contact_support About app: Introducing QxCredit : Rewards Converter Convert /Transfer or Exchange your Google Play Balance and opini...

How to Insert ,Delete ( first or last ) nodes in Linked List C / C++








Node definition (Structure) :
struct node{
     int num;
     node* next;
 };
The num variable stores the data given by the user and the pointer (next) stores the address of the next element present in the linked list.

Insertion of Nodes :

1) Inserting in beginning : 
void insert_beg(int value){
     node* n=new node;
     n->num=value;
     if(first==NULL){
         n->next=NULL;
         first=n;
     }
     else{
         n->next=first;
         first=n;
     }
 }
the above function ,when called creates a new node and stores the value passed to it in num (variable) ,now the function checks if the list is empty and if it is empty then it is simply marked as the first element in the linked list.
if the list is not empty then the pointer (next ) is assgned to the first element address and the marker (first) is given to current element.

2) Insertion at end : 

void insert_end(int value){
     node* n=new node;
     n->num=value;
     n->next=NULL;
     if(first==NULL)
         first=n;
     else{
         node* temp=first;
         while(temp->next!=NULL)
             temp=temp->next;
         temp->next=n;
     }
 }
This function is called when an element is to be stored in the last position of a linked list.
if the list is empty , we will add the element as first in the list.
if not then , we have to traverse the list first and stop when a node's (temp) next value is NULL and then point the node's (temp) next value to the node which is to be inserted.


Deletion of nodes :

1) Delete from beginning :
void delete_beg(){
     if(first==NULL){
         cout<<"Empty list\n";
     }   
     else{
         node* temp=first;
         first=first->next;
         delete(temp);
     }
 }
1) Check if the list is empty or not
2) if not then store the address of the top most ( first ) node in the list so that we can delete it later
3) point the first (tag) to the next element and delete the temp pointer pointing to the first element of the node.

2) Delete from ending :
void delete_end(){
     if(first==NULL)
         cout<<"Empty list\n";
     else{
         node *temp=first;
         while(temp->next->next)
               temp=temp->next;
         delete(temp->next);
         temp->next=NULL;
     }
 }
1) Check if the list is empty or not
2) if not then store the address of the top most ( first ) node in temp so that we can traverse the list until we reach the node which is second last node in the list ( where temp->next->next==NULL ),
here temp is the second last element in the list.
3) delete temp->next and point it to NULL value.

if any doubts or queries please comment ðŸ™‚

Comments

Popular posts from this blog

Transfer google play balance to Paytm, PhonePe, Google Pay or any UPI linked bank account.

To transfer google play balance, opinion rewards or gift cards to PayPal, Paytm, PhonePe, Google Pay or any UPI ID linked bank account , you can use QxCredit :Rewards Convertor app which is available on google play store: You will get back 80% of the google play balance. App link:  https://play.google.com/store/apps/details?id=qxcoding.qx_credit_reboot Follow these steps to transfer your play balance to paypal or UPI: 1) download app from play store. 2) login with your google account and phone number. 3) choose a token amount which you want to convert/transfer. 4) Enter your payout details.(UPI ID or PayPal Email) 5) wait for an acknowledgement mail form qxcredit containing information about your purchased token. 6) you will receive the amount within 3 days. 7) if you face any issues you can raise a query on website: https://qx-credit.web.app/#/contact_support About app: Introducing QxCredit : Rewards Converter Convert /Transfer or Exchange your Google Play Balance and opini...

What is AI (Artificial Intelligence )? and its characteristics

Definition : Artificial intelligence  (AI) is the ability of a  computer program  or a  machine  to think and learn. It is also a field of study which tries to make computers "smart". They work on their own without being encoded with commands. Types of AI : REACTIVE MACHINES:  The most basic type of AI is purely reactive ,it does not store any memory of past or predict ( calculate ) future happenings. This type of AI is only applicable to specific applications and the principle is choosing the best decision among several options. examples: Deep Blue, IBM’s chess-playing supercomputer LIMITED MEMORY :  this type 2 kind of AI machines are distinct from reactive machine in such a way that it can make optimum decisions based on the past information ( data ). examples: self driving cars. THEORY OF MIND:  The understanding that people,creatures and objects can have thoughts or emotions which effect their own behavior. ...

How to convert google play balance to paypal or UPI [2024]

If your google account contains play balance which you might have earned from google competitions, opinion rewards or gift vouchers, you can transfer the amount to paypal account or any UPI linked bank account.  For transferring the play balance you need to follow 3 simple steps :  1) Download QxCredit app from google play store:                                 2) Purchase a token of your choice by entering the payout details :            3) View your purchase in my tokens section and wait for 72 hours for the transaction to be verified and processed. The below video demonstrates the process of purchasing a token of your choice to convert play balance: After purchasing token you will also receive a confirmation mail from QxCredit regarding the purchased token information. You can also view your purchased token on QxCredit website:...