Found 206 Articles for Programming Languages

How to pad a String in Java?

Ashin Vincent
Updated on 27-Feb-2025 10:55:09

108 Views

What is string padding? String padding means adding extra spaces or characters to the string to reach a specified length. This extra character or space can be added before the string, after the string, or on both sides of the string. This is useful for formatting output or aligning text in documents in order to improve the overall appearance of the content. For example, while displaying a table, padding helps to align the content properly so that every column in the lineup is correct. Approaches to pad a string in Java There are multiple approaches to pad a string in ... Read More

Most Asked Divide and Conquer Coding Problems

Yash Shri
Updated on 19-Feb-2025 17:50:34

159 Views

Divide and Conquer is the technique where all the main problems are divided into subproblems and after that subproblems will be solved and merged into a single solution. The article "Most Asked Divide and Conquer Coding Problems" covers all the important coding problems. It provides you with a wide range of questions from easy level to hard level. Following are the top divide-and-conquer problems of data structure and algorithms − Easy Divide and Conquer Problems The following are the easy problems of divide and conquer ... Read More

Top 50 Problems on Matrix/Grid Data Structure Asked in Programming Interviews

Yash Shri
Updated on 06-Feb-2025 16:03:03

271 Views

The matrix or grid data structure is the mix of two or more linear structures. In this sheet, you will find the important and industry-level problems. It will help you clear the programming interviews. This coding problem is organized from a basic level to an advanced level. Following is the range of problems on a matrix in Data Structure and Algorithms − Easy Matrix Problems Check if a Given Matrix is a Magic Square ... Read More

Top 50 Problems on Linked Lists Data Structure Asked in Coding Interviews

Yash Shri
Updated on 06-Feb-2025 16:04:43

373 Views

Linked Lists is the linear data structure that stores the data in the node. In this article, we will discuss the most common and popular problems of linked lists in Data Structures and Algorithms. We are covering basic to advanced-level problems which will help you to learn the whole concept in a structured manner. The following are the most important and best problems on linked lists − Easy LL Problems Print the Middle of a Given Linked ... Read More

Most Asked Problems on Stack Data Structure Asked in SDE Interviews

Yash Shri
Updated on 06-Feb-2025 16:05:38

195 Views

A Stack is the linear data structure used to store the elements that are inserted and removed by following the principle of Last In First Out (LIFO). The article "Most Asked Problems on Stack Data Structure Asked in SDE Interviews" covers all the problems topic-wise and includes the industry level and important questions from the interview perspective. Here are the important stack problems of Data Structure and Algorithms − Easy Stack Problems Parenthesis ... Read More

Top 50 Array Coding Problems for Programming Interviews

Yash Shri
Updated on 06-Feb-2025 16:06:28

1K+ Views

An array is a linear data structure that stores the data on contiguous memory locations. In this article, we will discuss the most common and popular problems of arrays in Data Structures and Algorithms. We are covering basic to advanced-level problems which will help you to learn the whole concept in a structured manner. Here is the list of problems that have been asked in programming interviews − Easy Array Problems Following are the easy array problems − ... Read More

Most Asked String Coding Problems for Programming Interviews

Yash Shri
Updated on 31-Jan-2025 15:35:44

205 Views

String is the collection of the characters used to represent the text. It is immutable in many languages. This article gives you deep knowledge and exceptional learning about the Strings with good examples. We cover common and trending coding problems on String in Data Structures and Algorithms from the basic to the advanced level. Here is the list of problems that have been asked in programming interviews − Basic Problems Valid Palindrome with Special Characters String Compression (Run-length Encoding) Reverse Words in Sentence Maintaining Spacing ... Read More

Most Asked Problems in Data Structures and Algorithms

Yash Shri
Updated on 21-Jan-2025 17:57:43

259 Views

This sheet provides a wide range of questions on data structures and algorithms. It includes dynamic and trending topics that match industry-level requirements. Firstly, you have to learn any programming language like C, C++, Java, etc. and after getting a better understanding of the concepts and language specifics, practice these questions for the mastery of DSA. Here is a list of topics featuring the most frequently asked problems in Data Structures and Algorithms: Array String Stack Queue Linked List ... Read More

Difference between Functional and Logical Programming

Shirjeel Yunus
Updated on 19-Aug-2024 11:42:04

1K+ Views

Programming is a technique which is used to resolve different types of problems with the help of a programming language. Different types of programming languages are available which have their own syntax and methods of programming. Each programming language supports different paradigms like functional, logical, object-oriented, etc. In this article, we will discuss the difference between functional and logical programming. What is Functional Programming? Functional programming is a paradigm in which functions are used to write code and execute a program. High-level languages are used to write such programs which consist of one or more functions. An example can be ... Read More

Difference Between Machine Language and Assembly Language

Shirjeel Yunus
Updated on 05-Aug-2024 13:11:24

572 Views

Machine language is a language that can be understood only by machines but not by humans. 0s and 1s (zeros and ones) are used in the machine language. Previously, it wasn't easy to draw a picture or write text using this language. Assembly Language can be understood by humans. In this article, we will see the difference between Machine Language and Assembly Language. What is Machine Language? Machine language is a language that can only be understood by machines. Binary numbers were used in the language and code was written by using 0s and 1s. It was very difficult for ... Read More

Advertisements