All Hard Articles
It was 2 day process. First day: 1> Hackerrank test (2 problems): Problem 1: Given an array find if array gets sorted by reversing any… Read More
Make a database on cloud platform using AWS (Amazon Web Services). Introduction to Cloud Cloud computing is an information technology paradigm that enables ubiquitous access… Read More
Prerequisite – PL/SQL introduction In PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare part,… Read More
What will be the output of following C program? main() { char g[] = "geeksforgeeks"; printf("%s", g + g[6] - g[8]); } (A) geeks (B)… Read More
I applied internship through University/Collage. Round 1:Online Test The Test was conducted on Hackerearth. Test consists of(23 MCQ’s and 2 programming) Exam time was 1hr… Read More
Given N numbers that have a permutation of first N numbers. In a single operation, any prefix can be reversed. The task is to find… Read More
A hash table with 10 buckets with one slot per bucket is depicted here. The symbols, S1 to S7 are initially entered using a hashing… Read More
Consider the following program main() { int x = 1; printf ("%d", (*char(char *)&x)) ; } Assuming required header files are included and if the… Read More
Consider the following  code segment: int f (int x) { if (x < 1) return 1; else return (f(x-1) + g(x)) } int g (int… Read More
Given x, k and m. Compute (xxxx…k)%m, x is in power k times. Given x is always prime and m is greater than x.  Examples: … Read More
Prerequisite – Routing Information Protocol (RIP), EIGRP fundamentals, OSPF protocol fundamentals Routing is a process in which a layer 3 device (either router or layer 3… Read More
A particular BNF definition for a \”word\” is given by the following rules. Which of the following lexical entries can be derived from < word… Read More
Consider the following C code segment: #include main() { int i, j , x ; scanf("%d", &x); i = 1 ; j = 1; while… Read More
Round 1 What is caching and how it is used. Types of cache eviction policies. Any cache you might have used for your project. Explain.… Read More
Given N which denotes the initial position of the person on the number line. Also given L which is the probability of the person of… Read More
Height and Width in CSS are used to set the height and width of boxes. Its value can be set using length, percentage, or auto.… Read More
The java.util.Hashtable.size() method of Hashtable class is used to get the size of the table which refers to the number of the key-value pair or… Read More
Given an array of n elements and q range queries (range sum in this article) with no updates, task is to answer these queries with… Read More
The toLocaleDateString() method in JavaScript is used to convert the date and time of a Date object to a string representing the date portion using… Read More
Problem – Write a program in 8086 microprocessor to sort numbers in descending order in an array of n numbers, where size “n” is stored… Read More