Sunidhi Bansal has Published 1101 Articles

Count odd and even digits in a number in PL/SQL

Sunidhi Bansal

Sunidhi Bansal

Updated on 09-Mar-2023 10:22:23

We are given a positive integer of digits and the task is to calculate the count of odd and even digits in a number using PL/SQL.PL/SQL is a combination of SQL along with the procedural features of programming languages. It was developed by Oracle Corporation in the early 90's to ... Read More

How are dictionaries implemented in Python?

Sunidhi Bansal

Sunidhi Bansal

Updated on 03-Nov-2022 07:00:33

Dictionary in python is just like a map in C++ and Java. The Iike Map dictionary consists of two things: first is key and second is value. Dictionary is dynamic in nature. You can add more keys and values to the dictionary after creating the dictionary and also you can ... Read More

Explain monkey patching in Python?

Sunidhi Bansal

Sunidhi Bansal

Updated on 03-Nov-2022 06:48:01

Monkey patching is the technique of dynamic modification of a piece of code at the run time. Actually by doing monkey patch we change the behavior of code but without affecting the original source code. History The monkey patch comes from the word guerrilla patch, guerrilla nearly means gorilla which ... Read More

Why does Python sometimes take so long to start on Windows?

Sunidhi Bansal

Sunidhi Bansal

Updated on 03-Nov-2022 06:34:58

Python is a very popular programming language among the Developers and very easy to understand. Its syntax is also very simple to understand, like JAVA and C. But this popular language has some problems and one of the major problems is that it takes so long to start. There can ... Read More

Array Partition I in Python

Sunidhi Bansal

Sunidhi Bansal

Updated on 03-Nov-2022 06:30:54

We are given the array, let's say arr[] of 2n integers. We have to make the pair group of the integer elements like(a1, b1), (a2, b2)....(an, bn) which makes the sum of min(ai, bi) for all elements in the array as large as possible. The task is to find the ... Read More

Python Challenges to Develop Your Skills

Sunidhi Bansal

Sunidhi Bansal

Updated on 03-Nov-2022 06:24:16

As you know Python is ranked in topmost used programming language. Python programming language is easy to learn and easy to use. If you know the basics of python you can develop some easy projects like the TIC TAC TOE game and also you can enroll in easy python coding ... Read More

Merge Sort Tree in C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 05-Nov-2021 07:20:07

We are given an integer array, a set of segment start and end pointers and a key value and the problem statement here is to find all the values in the given range which are smaller than or equal to the given key value.Let us understand with exampleInput − arr[] = ... Read More

Merge Sort using Multithreading in C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 05-Nov-2021 07:04:34

We are given an unsorted integer array. The task is to sort the array using merge sort technique implemented via Multi-threadingMerge SortMerge sort is a sorting technique which is based on divide and conquer technique where we divide the array into equal halves and then combine them in a sorted ... Read More

Memorization (1D, 2D and 3D) Dynamic Programming in Java

Sunidhi Bansal

Sunidhi Bansal

Updated on 05-Nov-2021 06:53:56

Memorization is a technique based on dynamic programming which is used to improve the performance of a recursive algorithm by ensuring that the method does not run for the same set of inputs more than once by keeping a record of the results for the provided inputs(stored in an array).Memorization ... Read More

Maximum subarray sum after dividing array into subarrays based on the given queries in Java

Sunidhi Bansal

Sunidhi Bansal

Updated on 05-Nov-2021 06:04:04

We are given two integer arrays, one having the elements which are computed and other having split points which are required to split the array for making subset and we have to calculate the sum of each subset in every split and return the maximum subset sum.Let us understand with ... Read More

1 2 3 4 5 ... 111 Next
Advertisements