Python

nodejs

Node.js vs Python | Which Backend Technology to Select

Node.js vs Python. Which is the best backend programming language to use considering syntax, performance and library support

Python

How to Convert String Representation of List to List in Python?

Simplest way to convert string representation of list to list in Python using split(), json.loads() and ast.literal_eval().

coding challenge

Minimum Cost to Paint all Houses with No Adjacent Houses have Same Color

Write a program to find the minimum cost to paint all houses in Python. Interview coding question asked in Amazon.

Python

How to Get Python List all Files in Directory with Extension?

Write a program to get the Python list all files in directory with extension? Using listdir() from OS module.

coding challenge

Maximum Average Sum of Two Subsequences of Array

Write a program to find the Maximum Average Sum of Two Subsequences of Array? Coding challenge to solve in C/C++, Java and Python.

Code

Second Largest/Smallest Number in Array in C/C++, Java and Python

Write a program to find the second smallest number in array in C/C++, Java and Python. Second largest element in list.

Code

Find the Smallest and Largest Number in Array in C/C++, Java and Python

Write a program to find the smallest and largest number in the array. Code written in C/C++, Java and Python.

coding challenge

Multilevel Car Parking System in Python | Coding Design Interview Questions

Parking space allotment coding problem. How to design multilevel car parking system in Python? Coding design interview questions and answers.

coding challenge

Valid Sudoku Checker in Python

Write a program to check if Sudoku solution is valid or not. Valid Sudoku Checker in Python code explained with time and space complexity.