Sherlock and Squares Hackerrank I think you might go through this problem but here I’m going to make it little more interesting. So the problem is like: Watson gives two integers (A and B) to Sherlock and asks if he can be able to count the number of square integers between A and B(both inclusive) to test his intelligence. To make it simple Watson also explains: A square integer is an integer which is the square of an integer. For …

Home » Algorithm

# Category: Algorithm

→

Algorithm is a process of thinking, automation, logical struggle with constraints

so First topic is:

Pointer Concept

There is always a pattern in every coding Interview.They asked some common questions. In this post, we are providing one of the,m that is Quickest way to Find the missing number in an array of numbers of n-1 numbers and these integers are in the range of 1 to n. We will right the efficient optimum, readable complete solution for that.

ThoughtWorks is a privately owned, global technology company which provides software design and delivery, and pioneering tools and consulting services and closely associated with the movement for agile software development. in 2016 ThoughtWorks came for placement drive in AMU, here we are providing the snapshot of that drive with the help of Abu Talha Danish.

Do you know what's Pointer? In this post you will have a theory about the pointer, it's notation, address, referencing and dereferencing.
you understand that if we know the address we can find the value so in spite of value just play with an address that what pointers do.
A pointer points to a memory address

C Program to print Prime Numbers between 2 numbers Do you know what is prime? Ok here we are every number that is only divisible by 1 or itself is prime so we will write a C Program to print Prime Numbers between 2 numbers or interval that should be entered by User This first program is simple here we are doing it in simple way #include <stdio.h> int main() { int low, high, i, flag; printf("Enter two numbers(intervals): "); …

Today I’m going to take you on a ride of pointers with the help of different topics. We all know that we’re very afraid of pointers since we first read it. Today I’m going to try to let you explain the uneasy POINTERS, to make you learn Pointers. What are Pointers? First of all, starting with the explanation where these have come from i.e. Dynamic Data Structures in which many things like pointers, linked list, stack, queues and different things …

Super Reduced String Hackerrank Steve has a string, x, consisting of n lower case English alphabetic letters. In one operation, he can delete any pair of adjacent letters with the same value. For example, string “aabcc” would become either “aab” or “bcc” after the operation. Statement: Steve wants to reduce s as much as possible. To do this, he will repeat the above operation as many times as it can be performed. Help Steve out by finding and printing s‘s …