What’s up fellow coders and welcome to Geekific!
I’m Ed, a full-time software developer and coding enthusiast. Join me on this never-ending learning journey as we dive into the fascinating world of coding. Whether you're a beginner or an experienced programmer, this channel is dedicated to providing you with valuable insights, tips, and tutorials to help you excel in your coding endeavors. Let's forge a tight-knit community of passionate learners and embark on an exciting coding adventure together!
YouTube Membership Milestones:
• After 1K members, we’ll disable all Ads on our videos.
• After 2K members, we’ll start uploading full deep-dive courses.
• After 4K members, we’ll bind all content in an exclusive e-book for all our members.
Geekific
What will be the output of the following code?
--------------------
public static void main(String[] args) {
Deque<Integer> deque = new LinkedList<>();
deque.push(1);
deque.push(2);
deque.push(3);
System.out.print(deque.pop() + " ");
System.out.print(deque.pop() + " ");
System.out.print(deque.pop());
}
4 days ago | [YT] | 10
View 3 replies
Geekific
Which algorithm can be used to find the shortest path in a graph with non-negative weights?
1 week ago | [YT] | 6
View 0 replies
Geekific
Which data structure is most suitable for implementing a priority queue?
2 weeks ago | [YT] | 10
View 0 replies
Geekific
What is the main difference between ArrayList and LinkedList in Java?
3 weeks ago | [YT] | 3
View 0 replies
Geekific
What will be the output of the following code?
--------------------
public static void main(String[] args) {
List<Integer> list = Arrays.asList(1, 2, 3, 4, 5);
list.sort((a, b) -> b - a);
System.out.println(list);
}
1 month ago | [YT] | 21
View 2 replies
Geekific
What will be the output of the following code?
--------------------
public static void main(String[] args) {
Deque<Integer> deque = new LinkedList<>();
deque.add(1);
deque.addFirst(2);
deque.addLast(3);
System.out.println(deque);
}
1 month ago | [YT] | 9
View 0 replies
Geekific
What will be the output of the following code?
--------------------
public static void main(String[] args) {
System.out.print("Start");
try {
System.out.print(" Try");
} finally {
System.out.print(" Finally");
}
System.out.print(" End");
}
1 month ago | [YT] | 4
View 1 reply
Geekific
What will be the output of the following code?
--------------------
public static void main(String[] args) {
StringBuilder sb = new StringBuilder("Hello");
String s = sb.append(" World").toString();
System.out.println(s);
}
1 month ago | [YT] | 9
View 0 replies
Geekific
What will be the output of the following code?
--------------------
public static void main(String[] args) {
int[] arr = new int[6];
System.out.println(arr[arr.length]);
}
1 month ago | [YT] | 7
View 1 reply
Geekific
What is the difference between 'StringBuilder' and 'StringBuffer' in Java?
1 month ago | [YT] | 11
View 2 replies
Load more