Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

emonislive/javascript-logic-building

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rules - To follow to complete the challenge

  • Understand the problem statement
  • Pause the video and try to solve the problem for minimum 10 - 15 minutes
  • Resume the video and compare the solution
  • Try again if you did not get result correct

Source: Youtube Playlist Link
All Questions: PDF

Practice 1

No. Problem Answer
1 Write a program that prints "Hello World" on the console source code
2 Write a function that takes two numbers as input and prints their sum source code
3 Write a function that calculates and prints the area of a rectangle given its length and width source code

Practice 2

No. Problem Answer
4 Write a function that tells if a given number is even or odd source code
5 Write a function that finds and prints the smallest number among three given numbers source code

Practice 3

No. Problem Answer
6 Write a function that returns the reverse of a string source code

Practice 4

No. Problem Answer
7 Write a function that returns the reverse of a string source code

Practice 5

No. Problem Answer
8 Write a function that tells if provided year is a leap year or not source code

Practice 6

No. Problem Answer
9 Write a function that calculates and prints the sum of digits of a given number source code

Practice 7

No. Problem Answer
10 Write a function that generates and prints a multiplication table for a given number up to a specific range source code

Practice 8

No. Problem Answer
11 Write a function that finds and prints the maximum element in an array of numbers source code

Practice 9

No. Problem Answer
12 Write a function that checks if a string is palindrome or not source code

Practice 10

No. Problem Answer
13 Write a function that returns the result of raising a given number to a specified power source code

Practice 11

No. Problem Answer
14 Write a function that counts and prints the number of vowels and consonants in a given string source code

Practice 12

No. Problem Answer
15 Write a function that finds all the factors of a given number source code

Practice 13

No. Problem Answer
16 Write a function that calculates and returns the average of a set of numbers source code

Practice 14

No. Problem Answer
17 Write a function that calculates and prints the simple interest on a loan amount source code

Practice 15

No. Problem Answer
18 Write a function that tells if the given number is prime or not. [Optimized Version] source code

Practice 16

No. Problem Answer
19 Write a function that counts and returns the number of words in a sentence source code

Practice 17

No. Problem Answer
20 Write a function that converts a temperature in Celsius to Fahrenheit source code

Practice 18

No. Problem Answer
21 Write a program that swap two numbers source code

Practice 19

No. Problem Answer
22 Write a program that checks if a number is Armstrong or not source code

Practice 20

No. Problem Answer
23 Write a program that prints numbers from 1 to N replacing:
- multiple of 3 with "Fizz"
- multiple of 5 with "Buzz"
- multiple of both 3 & 5 with "FizzBuzz"
source code

Practice 21

No. Problem Answer
24 Write a program that prints a number pyramid source code

Practice 22

No. Problem Answer
25 Write a program that counts the occurrences of each character in a given string source code

Practice 23

No. Problem Answer
26 Write a program that checks if a given string is in alphabetical order source code

Practice 24

No. Problem Answer
27 Write a program that checks if two given strings are anagrams of each other source code

Practice 25

No. Problem Answer
28 Write a program that transposes a given matrix (swaps rows and columns) source code

Practice 26

No. Problem Answer
29 Write a program that checks if a given number is a perfect number source code

Practice 27

No. Problem Answer
30 Write a program that checks if the provided password is strong or not source code

Practice 28

No. Problem Answer
31 Write a program that multiplies two matrices and returns the result source code

Practice 29

No. Problem Answer
32 Write a program that calculates the tip amounts based on the bill total and percentages entered by the user (Tip Calculator) source code

Practice 30

No. Problem Answer
33 Write a program to find and count all palindromic substrings within a given string source code

Practice 31

No. Problem Answer
34 Write a program that checks if a given string of a parentheses is balanced and well formed source code

Practice 32

No. Problem Answer
35 Write a program that finds all occurrences of a given word in a big string source code

Practice 33

No. Problem Answer
36 Write a program that generates a random number source code
37 Write a program that takes input from the user source code

Practice 34

No. Problem Answer
38 Write a program that simulates rolling a dice source code

Practice 35

No. Problem Answer
39 Write a program that creates a basic alarm clock source code

Practice 36

No. Problem Answer
40 Write a program that builds a number guess game source code

Practice 37

No. Problem Answer
41 Write a program that builds a very basic calculator source code

Practice 38

No. Problem Answer
42 Write a program that plays Rock Paper Scissors with the user source code

Practice 39

No. Problem Answer
43 Write to-do list program that allows user to add, remove, and list tasks source code

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.