-
Recent Posts
Archives
Categories
Category Archives: Algorithms & Data Structures
Write a program that prints an average temperatue that is close to Zero
The idea is to get the lowest number that is close to the value zero (irrespective of the negative or positive value) from an array of average temperatures that are supplied like so: { 7, 7.9, 10.5, -4, 3, -6, … Continue reading
Posted in Algorithms & Data Structures
Comments Off on Write a program that prints an average temperatue that is close to Zero
How to check if nested brackets are in the correct logical order
I am starting a series of blog posts on algorithms and data structures with the first one being the easiest! Q. Write a method that checks if the nested brackets are in the correct logical order. The input string is … Continue reading
Posted in Algorithms & Data Structures
Comments Off on How to check if nested brackets are in the correct logical order