Tags » DS

Battling Bosses in Contact


Tonight in Contact I made it through the first dungeon, discovered the shortcut connecting the entrance to the 2/3 point, and beat one of its two bosses. 729 more words

Video Games

30 Days of Submission - Day 21

21) Is there a physical position that makes you feel most submissive?

Mmmmm…why YES!  There a few actually.  A picture is worth a thousand words, so I shall use them liberally. 11 more words


Reverse alternate K nodes in a Singly Linked List


Inputs:   1->2->3->4->5->6->7->8->9->NULL and k = 3
Output:   3->2->1->4->5->6->9->8->7->NULL.


kAltReverse(struct node *head, int k)
  1)  Reverse first k nodes.
  2)  In the modified list head points to the kth node.  111 more words

Reverse a Linked List in groups of given size

Given a linked list, write a function to reverse every k nodes (where k is an input to the function). 
Inputs:  1->2->3->4->5->6->7->8->NULL and k = 3 
Output:  3->2->1->6->5->4->8->7->NULL. 136 more words

Reverse a linked list

Iterative Method

static void reverse(struct node** head_ref)
    struct node* prev   = NULL;
    struct node* current = *head_ref;
    struct node* next;
    while (current != NULL)
        next  = current->next; 
        current->next = prev;  
        prev = current;
        current = next;
    *head_ref = prev;
} 137 more words

Death of the Handheld system

With the winter 2015 anime season being less than stellar, I’ve decided to get a few things about video games off my chest.  I’ve been a gamer most of my life.  500 more words