What is the space complexity for deleting a linked list?
Anonymous Quiz
21%
O(1)
43%
O(n)
26%
Either O(1) or O(n)
11%
O(logn)
Which one of the following utilize the CPU cycles in a massive manner?
Anonymous Quiz
51%
GUI (Graphic User Interface)
11%
Statically generated graphics
5%
Generic scoping
33%
Dynamically generated graphics
Explanation:
The term "Dynamic generated graphic" refers to simulate movement, motion, or generating a specific environment using the computer. It can also be thought of as multiple plots associated with time. Hence the graphics generated in the dynamic manner from the real time data utilize the huge part of the CPU cycles.
The term "Dynamic generated graphic" refers to simulate movement, motion, or generating a specific environment using the computer. It can also be thought of as multiple plots associated with time. Hence the graphics generated in the dynamic manner from the real time data utilize the huge part of the CPU cycles.
How to identify if a timezone is eligible for DayLight Saving?
Anonymous Quiz
15%
useDaylightTime() of Time class
15%
useDaylightTime() of Date class
49%
useDaylightTime() of TimeZone class
21%
useDaylightTime() of DateTime class
What is 'y' in the below C program?
Anonymous Quiz
21%
'x' is an array of three pointers
39%
'x' is an array of three function pointers
15%
'x' is a pointer
25%
Error in 'x' declaration
Explanation:
The statement typedef char (*(*arrfptr[4])())[20]; means arfptr is an array of 3 function pointer which will return an array of 20 dimension whose data type is char.
Therefore 'x' is an array of three function pointers.
The statement typedef char (*(*arrfptr[4])())[20]; means arfptr is an array of 3 function pointer which will return an array of 20 dimension whose data type is char.
Therefore 'x' is an array of three function pointers.
Which of the following is used for comments in C++?
Anonymous Quiz
21%
// comment
23%
/* comment */
54%
both // comment or /* comment */
2%
// comment */
Which of these is not an application of a linked list?
Anonymous Quiz
23%
To implement file systems
26%
For separate chaining in hash-tables
17%
To implement non-binary trees
35%
Random Access of elements
Explanation:
To implement file system, for separate chaining in hash-tables and to implement non-binary trees linked lists are used. Elements are accessed sequentially in linked list. Random access of elements is not an applications of linked list.
To implement file system, for separate chaining in hash-tables and to implement non-binary trees linked lists are used. Elements are accessed sequentially in linked list. Random access of elements is not an applications of linked list.
In JavaScript, what kind of scoping is used?
Anonymous Quiz
13%
Literal scoping
31%
Sequential scoping
23%
Segmental scoping
32%
Lexical scoping
Explanation:
In JavaScript, the lexical scoping is used just like many other modern languages.This means a function gets executed using the scope chain which was in effect, when they are defined instead of variable scope which was in effect when they are invoked/called.
In JavaScript, the lexical scoping is used just like many other modern languages.This means a function gets executed using the scope chain which was in effect, when they are defined instead of variable scope which was in effect when they are invoked/called.
What is the replacement of joda time library in java 8?
Anonymous Quiz
35%
java.time (JSR-310)
28%
java.date (JSR-310)
16%
java.joda
21%
java.jodaTime
In C, The return keyword is used for transfer control from a function back to the calling function.
Anonymous Quiz
81%
Yes
19%
No
What are the actual parameters in C++?
Anonymous Quiz
31%
Parameters with which functions are called
44%
Parameters which are used in the definition of a function
23%
Variables other than passed parameters in a function
3%
Variables that are never used in the function
What is the functionality of the following piece of code of DSA?
Anonymous Quiz
15%
Find and delete a given element in the list
33%
Find and return the given element in the list
41%
Find and return the position of the given element in the list
11%
Find and insert a new element in the list
Top 5 Coding Challenge Platforms for Programmers 👩💻🚀
1. LeetCode
- URL: https://leetcode.com
- Description: Enhance problem-solving skills with a vast collection of coding challenges on LeetCode.
2. HackerRank
- URL: https://www.hackerrank.com
- Description: HackerRank offers diverse coding challenges for algorithm, data structure, and language proficiency improvement.
3. CodeSignal
- URL: https://codesignal.com
- Description: CodeSignal provides coding challenges and assessments to enhance coding skills for interviews and practice.
4. Codewars
- URL: https://www.codewars.com
- Description: Codewars engages developers in creative problem-solving through kata challenges, fostering skill development.
5. Exercism
- URL: https://exercism.io
- Description: Exercism offers coding exercises in various languages, providing mentorship and community support.
➡️ Give Reactions 🤟
1. LeetCode
- URL: https://leetcode.com
- Description: Enhance problem-solving skills with a vast collection of coding challenges on LeetCode.
2. HackerRank
- URL: https://www.hackerrank.com
- Description: HackerRank offers diverse coding challenges for algorithm, data structure, and language proficiency improvement.
3. CodeSignal
- URL: https://codesignal.com
- Description: CodeSignal provides coding challenges and assessments to enhance coding skills for interviews and practice.
4. Codewars
- URL: https://www.codewars.com
- Description: Codewars engages developers in creative problem-solving through kata challenges, fostering skill development.
5. Exercism
- URL: https://exercism.io
- Description: Exercism offers coding exercises in various languages, providing mentorship and community support.
➡️ Give Reactions 🤟
Leetcode
LeetCode - The World's Leading Online Programming Learning Platform
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
Top 5 Coding Challenge Platforms for Programmers 👩💻🚀
1. LeetCode
- URL: https://leetcode.com
- Description: Enhance problem-solving skills with a vast collection of coding challenges on LeetCode.
2. HackerRank
- URL: https://www.hackerrank.com
- Description: HackerRank offers diverse coding challenges for algorithm, data structure, and language proficiency improvement.
3. CodeSignal
- URL: https://codesignal.com
- Description: CodeSignal provides coding challenges and assessments to enhance coding skills for interviews and practice.
4. Codewars
- URL: https://www.codewars.com
- Description: Codewars engages developers in creative problem-solving through kata challenges, fostering skill development.
5. Exercism
- URL: https://exercism.io
- Description: Exercism offers coding exercises in various languages, providing mentorship and community support.
1. LeetCode
- URL: https://leetcode.com
- Description: Enhance problem-solving skills with a vast collection of coding challenges on LeetCode.
2. HackerRank
- URL: https://www.hackerrank.com
- Description: HackerRank offers diverse coding challenges for algorithm, data structure, and language proficiency improvement.
3. CodeSignal
- URL: https://codesignal.com
- Description: CodeSignal provides coding challenges and assessments to enhance coding skills for interviews and practice.
4. Codewars
- URL: https://www.codewars.com
- Description: Codewars engages developers in creative problem-solving through kata challenges, fostering skill development.
5. Exercism
- URL: https://exercism.io
- Description: Exercism offers coding exercises in various languages, providing mentorship and community support.
Leetcode
LeetCode - The World's Leading Online Programming Learning Platform
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
Answer: No
As we have 2 == operators, so they are executed from left to right.
a == b == c
⇒ (a == b) == c
⇒ (10 == 10) == 10
⇒ true == 10
⇒ 1 == 10
⇒ false
Why is true converted to 1?
The rule for == says if one of the operands is boolean, it's converted to number before the comparison.
true is converted to its number value, which is 1.
As we have 2 == operators, so they are executed from left to right.
a == b == c
⇒ (a == b) == c
⇒ (10 == 10) == 10
⇒ true == 10
⇒ 1 == 10
⇒ false
Why is true converted to 1?
The rule for == says if one of the operands is boolean, it's converted to number before the comparison.
true is converted to its number value, which is 1.