Introduction The sixth edition of the scholarship test by Coding Ninjas was welcomed by students nationwide during August. Thus, Coding Ninjas is going to host the sixth edition of the Coding Scholarship Test again during the month of October. A ...

Introduction One of the most feared things by human beings is a failure. The extent to which people push themselves to avoid disappointment is quite surprising, but being prepared is one of the easiest ways to steer clear of it. ...

Introduction A. J. Perlis and C. Thornton have proposed a new binary tree called “Threaded Binary Tree“, which uses NULL pointers to improve its traversal process. In a threaded binary tree, NULL pointers are replaced by references of other nodes ...

Table of Contents Introduction Structure of Node in Threaded Binary Tree How to convert a binary tree to a threaded binary tree? Approach 1 Approach 2 (Better Solution) Frequently Asked Questions Key Takeaways Introduction A threaded binary tree is just ...

Introduction Imagine you are given a bunch of food items to eat. It includes your favourite as well as your non-favourite food items. Now you have to decide according to your preference which item you would like to eat first. ...

Introduction Let’s start with reading the problem statement of Stock Span –  You are given a list of stock prices of “n” days, and you need to find the span of each stock’s price for all the “n” days.  Consider ...

Introduction In this blog, you learn to solve the problem Longest Consecutive Subsequence. But before that, you need to be very clear about the definition of subsequence. Most of the people remain confused between subarray and subsequence, so let’s discuss ...

Introduction To Yahoo Interview Questions Yahoo is known across the world, it has been a household name for most internet users. During modern times, even though Google has most of the market share for search engines and online advertising, Yahoo’s ...

Introduction PwC is one of the top Fortune 500 companies with an extremely good track record. Not just that, it serves 418 of the same names on this list of the most reputable companies in the world. With many clients ...

Introduction Looking for an opportunity to leverage your coding skills? Or are you trying to challenge your brain and test your level in coding? Join CodeAgon, a coding challenge conducted by CodeNation, and win awesome prizes. This blog is about ...