Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

emonislive/javascript-logic-building

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • 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.ProblemAnswer
1Write a program that prints "Hello World" on the consolesource code
2Write a function that takes two numbers as input and prints their sumsource code
3Write a function that calculates and prints the area of a rectangle given its length and widthsource code

Practice 2

No.ProblemAnswer
4Write a function that tells if a given number is even or oddsource code
5Write a function that finds and prints the smallest number among three given numberssource code

Practice 3

No.ProblemAnswer
6Write a function that returns the reverse of a stringsource code

Practice 4

No.ProblemAnswer
7Write a function that returns the reverse of a stringsource code

Practice 5

No.ProblemAnswer
8Write a function that tells if provided year is a leap year or notsource code

Practice 6

No.ProblemAnswer
9Write a function that calculates and prints the sum of digits of a given numbersource code

Practice 7

No.ProblemAnswer
10Write a function that generates and prints a multiplication table for a given number up to a specific rangesource code

Practice 8

No.ProblemAnswer
11Write a function that finds and prints the maximum element in an array of numberssource code

Practice 9

No.ProblemAnswer
12Write a function that checks if a string is palindrome or notsource code

Practice 10

No.ProblemAnswer
13Write a function that returns the result of raising a given number to a specified powersource code

Practice 11

No.ProblemAnswer
14Write a function that counts and prints the number of vowels and consonants in a given stringsource code

Practice 12

No.ProblemAnswer
15Write a function that finds all the factors of a given numbersource code

Practice 13

No.ProblemAnswer
16Write a function that calculates and returns the average of a set of numberssource code

Practice 14

No.ProblemAnswer
17Write a function that calculates and prints the simple interest on a loan amountsource code

Practice 15

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

Practice 16

No.ProblemAnswer
19Write a function that counts and returns the number of words in a sentencesource code

Practice 17

No.ProblemAnswer
20Write a function that converts a temperature in Celsius to Fahrenheitsource code

Practice 18

No.ProblemAnswer
21Write a program that swap two numberssource code

Practice 19

No.ProblemAnswer
22Write a program that checks if a number is Armstrong or notsource code

Practice 20

No.ProblemAnswer
23Write 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.ProblemAnswer
24Write a program that prints a number pyramidsource code

Practice 22

No.ProblemAnswer
25Write a program that counts the occurrences of each character in a given stringsource code

Practice 23

No.ProblemAnswer
26Write a program that checks if a given string is in alphabetical ordersource code

Practice 24

No.ProblemAnswer
27Write a program that checks if two given strings are anagrams of each othersource code

Practice 25

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

Practice 26

No.ProblemAnswer
29Write a program that checks if a given number is a perfect numbersource code

Practice 27

No.ProblemAnswer
30Write a program that checks if the provided password is strong or notsource code

Practice 28

No.ProblemAnswer
31Write a program that multiplies two matrices and returns the resultsource code

Practice 29

No.ProblemAnswer
32Write 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.ProblemAnswer
33Write a program to find and count all palindromic substrings within a given stringsource code

Practice 31

No.ProblemAnswer
34Write a program that checks if a given string of a parentheses is balanced and well formedsource code

Practice 32

No.ProblemAnswer
35Write a program that finds all occurrences of a given word in a big stringsource code

Practice 33

No.ProblemAnswer
36Write a program that generates a random numbersource code
37Write a program that takes input from the usersource code

Practice 34

No.ProblemAnswer
38Write a program that simulates rolling a dicesource code

Practice 35

No.ProblemAnswer
39Write a program that creates a basic alarm clocksource code

Practice 36

No.ProblemAnswer
40Write a program that builds a number guess gamesource code

Practice 37

No.ProblemAnswer
41Write a program that builds a very basic calculatorsource code

Practice 38

No.ProblemAnswer
42Write a program that plays Rock Paper Scissors with the usersource code

Practice 39

No.ProblemAnswer
43Write to-do list program that allows user to add, remove, and list taskssource code

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp