ProDeveloperTutorialonDecember 23, 2024 Given an unsorted array, find the minimum difference between 2 elements. Problem Explanation: Given an unsorted array, the output should be the minimum difference between the elements and the elements itself.…
ProDeveloperTutorialonDecember 23, 2024 Given an array, the difference between the elements is one, find if the “key” element is present or not. Example: Array: {5, 6, 7, 6, 5, 4, 3, 4, 5, 6} Key: 4 Output: The element 4 is found at the index 6. Explanation: We can solve this approach…
ProDeveloperTutorialonDecember 23, 2024 Sort an array of 0s, 1s and 2s in C Problem Description: Given an array of elements consisting of 0, 1, 2. Sort the array. Example: {1, 2, 0, 0, 1, 2, 1} Output: {0, 0, 1, 1, 1,…
ProDeveloperTutorialonDecember 23, 2024 Count the number of ways a baby can reach the n’th stair taking 1 or 2 steps at a time in C language. Problem Description: A baby wants to climb the stairs. It can take single step at a time or take 2 steps at a time. Or it can take combination…
ProDeveloperTutorialonDecember 23, 2024 Given two non empty Linked List with non negative numbers, and numbers are stored in reverse order having single digit. Add the two list and return the result as a linked list. Input: [ 3 -> 4 -> 5 ] + [ 1 -> 2-> 3] Output: [ 8 -> 6 -> 4 ] Explanation: 543 + 321 = 8 -> 6 -> 4 Detailed…
ProDeveloperTutorialonDecember 23, 2024 Given an array of integers in ascending order, return index of the two numbers such that they add up to a specific key provided. Solution Description: This problem can be solved in 2 different ways. Solution 1: Brute Force Technique Explanation: In this technique, we…
ProDeveloperTutorialonDecember 22, 2024 Tips to become good at programming Below are some of the tips to become good at programming. Be good with syntax. Dedicate at-least 1 hour other than office hours to solve…
ProDeveloperTutorialonDecember 22, 2024 How to write a resume for coding interview? In this chapter I shall give you some tips on how to write resume for software developer. Always include your GitHub links. Always include…
ProDeveloperTutorialonDecember 22, 2024 Tips to solve coding interview questions In this chapter I shall give you some tips on how to solve coding interview questions. Always first try to come up with brute force approach.…
ProDeveloperTutorialonDecember 22, 2024 How to prepare for coding interview in 3 months. I have created the answer for this question by taking my own experience and also asking it to my friends and formulating the points. I am not…