Fazeel Usmani
Fazeel Usmani
[4.1. Numbers](http://localhost:3000/basic-types/numbers.html) [4.2. Char, Bool and Unit](http://localhost:3000/basic-types/char-bool-unit.html) [4.3. Statements and Expressions](http://localhost:3000/basic-types/statements-expressions.html) [4.4. Functions](http://localhost:3000/basic-types/functions.html)
Write a program to implement a Stack using Array. Your task is to use the class as shown in the comments in the code editor and complete the functions push()...
Given a singly linked list of size N. The task is to rotate the linked list counter-clockwise by k nodes, where k is a given positive integer smaller than or...
4. Stack using two queues Implement a Stack using two queues q1 and q2. Example 1: Input: push(2) push(3) pop() push(4) pop() Output: 3 4 Explanation: push(2) the stack will...
Given a singly linked list, delete middle of the linked list. For example, if given linked list is 1->2->3->4->5 then linked list should be modified to 1->2->4->5. If there are...
3. Implement two stacks in an array Your task is to implement 2 stacks in one array efficiently. Example 1: Input: push1(2) push1(3) push2(4) pop1() pop2() pop2() Output: 3 4...
2. Implement Stack using Linked List Basic Accuracy: 49.96% Submissions: 52083 Points: 1 Let's give it a try! You have a linked list and you have to implement the functionalities...
2. Spirally traversing a matrix Medium Accuracy: 48.39% Submissions: 12583 Points: 4 Given a matrix of size R*C. Traverse the matrix in spiral form. Example 1: Input: R = 4,...
5. Implement strstr Basic Accuracy: 50.08% Submissions: 50457 Points: 1 Your task is to implement the function strstr. The function takes two strings as arguments (s,x) and locates the occurrence...
3. Convert to Roman No Basic Accuracy: 49.9% Submissions: 13739 Points: 1 Given an integer n, your task is to complete the function convertToRoman which prints the corresponding roman number...