DSA 2 EASY
| Given 2 strings, return if its an anagram or not | Danish Khan |
| What is a String. | Danish Khan |
| Stack VS Queue. | Danish Khan |
| Task 1 :- Add a node in a Linked List at a given Index. | Danish Khan |
| Task 2 :- Check if the Given String is palindrome. | Danish Khan |
| Task 2 :- Check if the Given String is palindrome. | Danish Khan |
| - What is a Linked List. | Danish Khan |
| - Advantages of Linked List. | Danish Khan |
| - Circular Linked List. | Danish Khan |
| - Singly Linked List VS Doubly Linked List. | Danish Khan |
| - Stack VS Queue. ( answered correctly ) | Danish Khan |
| Task 1 :- Check if the Given String is palindrome. | Danish Khan |
| Task 2 :- Add a node in a Linked List at a given Index. | Danish Khan |
| Task 3 :- Given a string str = "my name is danish khan", convert it into "My Name Is Danish Khan". | |
| Implement a stack using an array | Dev Mittal |
| Reverse a given string | Hardik Singh |
| Reverse a Linked List | Hardik Singh |
| What is linkedList and what are its purpose? | Himanshu Manu Udhawani |
| Advantages and Dis-advantages of LL | Himanshu Manu Udhawani |
| Singly LL vs Doubly LL. | Himanshu Manu Udhawani |
| Linear DS vs Non-linear DS | Himanshu Manu Udhawani |
| Array Vs. linkedlist | Himanshu Manu Udhawani |
| Define stack with its mode of operation. | Himanshu Manu Udhawani |
| Define queue with its mode of operation. | Himanshu Manu Udhawani |
| Stack vs Queue | Himanshu Manu Udhawani |
| Reverse a Linked List | Himanshu Manu Udhawani |
| Reverse string using stack | Himanshu Manu Udhawani |
| find first and last index of repeated value | Mahima Yadav |
| remove duplicate value of linkedlist | Mahima Yadav |
| Reverse every word in given string | Mahima Yadav |
| LinkedList representation using Stacks | Mahima Yadav |
| advantages of LL over arrays. | Manish Shaw |
| wap to add and print the all the nodes in linkedlist. | Manish Shaw |
| wap to find the mid element of a linkedlist | Manish Shaw |
| stacks & queue? its application.. | Manish Shaw |
| reverse a string using stack. | Manish Shaw |
| how many queues will be needed to form a stack. | Manish Shaw |
| Reverse a string | Manish Shaw DSA 2 Easy |
| Display all the substrings of a given string | Manish Shaw |
| create a linked list with add function | Manish Shaw |
| difference between stack and queue | Manish Shaw |
| binary search in linked list time complexity | Manish Shaw |
| array or linked list | Manish Shaw |
| Print your name in reverse order | Manish Shaw |
| Remove all the vovel from given String | Manish Shaw |
| Program to print all substring of a given String | Manish Shaw |
| Advantages of using linkedlists overall the arrays. | Manish Shaw |
| wap to find the mid element of a linkedlist | Manish Shaw |
| Insert a node at a given position | mechate levanyasai |
| Anagram strings | mechate levanyasai |
| Write a program to check the linked list is palindrome or not ? | Nihal Shaikh |
| 1) Write a program to check the given linked list is palindrome or not ? | Nihal Shaikh |
| 2) Problem Statement: Given a set of strings, find the longest common prefix. Examples: | Nihal Shaikh |
| Examples: | Nihal Shaikh |
| Input: {"geeksforgeeks", "geeks", "geek", "geezer"} | Nihal Shaikh |
| Output: "gee" | Nihal Shaikh |
| Input: {"apple", "ape", "april"} | Nihal Shaikh |
| Output: "ap" | Nihal Shaikh |
| What is a Stack ? & its implementation | Pavan Bhanshali |
| Write a program Linked list adding a node in the end | Pavan Bhanshali |
| Write a program to reverse a custom linked list. | Pavan Bhanshali |
| Write a program to implement queue using Stack (2 stacks or call stack) | Pavan Bhanshali |
| Balence parentesis | Pavan Bhanshali |
| Find Middle in Linkedlist. | Pavan Bhanshali |
| https://gist.github.com/sudipt1999/bb24dc5d2c462dd4caecfd7704dafe1e | sudipt dabral |
| Longest Common Prefix (leetcode) | Sumit Saurav |
| remove duplicated from a sorted linkedlist(leetcode) | Sumit Saurav |
| Valid parenthesis(leetcode) | Sumit Saurav |
| Write a code implementation of a doubly-linked list, it should support add, remove the last node, and print linked list functionality | Thompson Naidu |
| Delete a node from the linked list (given node that have to be delete no access to head ) | Thompson Naidu |
| Thompson Naidu | |
| Find the greatest element to the right of the target | Vinoth kumar |
| Remove duplicate in a String | Vinoth kumar |
| What is a String? | Sandip jha |
| - Implement Queue using LinkedList | Sandip jha |
| - is String mutable or immutable ? | Sandip jha |
| - What is Queue. : answered | Sandip jha |
| Sandip jha | |
| - the logic of reverse the LinkedList : part | Sandip jha |
| - Implement reverse the string. | Sandip jha |
| - Implement LinkedList class: answered | Sandip jha |
| - What is Stack and its operations: answered | Sandip jha |
| - Implement LinkedList class: answered | Sandip jha |
| - Implement the above question by using stack: | Sandip jha |
| count the number of Spaces in the given string. | Danish Khan |
| Add a node in a Linked List at a given Index. | Danish Khan |
| Write a function detectAndRemoveLoop() that checks whether a given Linked List contains a loop and if loop is present then removes the loop and returns true. If the list doesn’t contain a loop then it returns false. | Shubham Madheysia |
| 1. Write a function to find the longest common prefix string amongst an array of strings. | Lakkakula Venkatesh |
| If there is no common prefix, return an empty string "". | |
| 2. Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. | Lakkakula Venkatesh |
| An input string is valid if: | |
| Open brackets must be closed by the same type of brackets. | |
| Open brackets must be closed in the correct order. | |
| 3. Find out whether the given small-word is present in big-word. | Lakkakula Venkatesh |
| 1. Explain Circular Linked List | Divyanshu Shukla |
| 2. Applications of Queue and Stack | |
| 3. What will be the output of following code | |
| void fun1(struct node* head) | |
| { | |
| if(head == NULL) | |
| return; | |
| fun1(head->next); | |
| printf("%d ", head->data); | |
| } | |
| 4. Suppose a stack is to be implemented with a linked list | |
| instead of an array. What would be the effect on the time | |
| complexity of the push and pop operations of the stack | |
| implemented using linked list (Assuming stack is | |
| implemented efficiently) | |
| 5. What will be the output of following code | |
| (i) String s1 = "abc"; | |
| String s2 = new String("abc"); | |
| System.out.println(s1==s2) | |
| (ii) String s1 = "abc"; | |
| String s2 = "abc"; | |
| System.out.println(s1==s2) | |
| 6. Print characters and their frequencies in a string--> | |
| 7. Palindrome Linked List | |
| 1. Given a singly linked list and a position, delete a linked list node at the given position. | Tanish Shah |
| a function Writewhich can delete node at the given position. | Tanish Shah |
| Example: | |
| Input: position = 1, Linked List = 8->2->3->1->7 | |
| Output: Linked List = 8->3->1->7 | |
| Tanish Shah | |
| 2. Given a string str of length N which consists of only 0, 1 or 2s, count the number of substring which have equal number of 0s, 1s and 2s. | |
| Tanish Shah | |
| Example 1: | |
| Tanish Shah | |
| Input: str = “0102010” | |
| Output: 2 | |
| Tanish Shah | |
| Explanation: Substring str[2, 4] = “102” and | |
| substring str[4, 6] = “201” has equal number | |
| of 0, 1 and 2 | |
| 1. Given a string, check whether it is Palindromic or not | Ashim Kaushal |
| 2. https://leetcode.com/problems/middle-of-the-linked-list/ | Ashim Kaushal |
| 3. https://leetcode.com/problems/valid-parentheses/ | Ashim Kaushal |
| 1. Delete elements of a linked list after kth node? | Deependra Singh |
| 2. Write a code to find middle element of a linked list? | |
| Difference between array and link list | Harshil jain |
| Diff between stack and queue | |
| Priority queqe | |
| Write a code to Implement Link list | |
Himanshu Manu Udhwani | |
| - What is Linked list whats purpose of it in | |
| - Advantages and disadvantages of Linked list | |
| - Difference between singly and doubly Linked list | |
| - What is difference between Array and linked List | |
| -Difference between linear and non linear data structure | |
| -What is stack ? Operations of stack | |
| -What is queue ? Operations of queue | |
| - Difference between Stack and Queue | |
| - Coding Question asked : | |
| a.) Code to reverse a Linked List | |
| b.) Reverse a string using a Stack | |
| - Time complexity | |
| 1) Find the middle node from the given linked list. | Niharika Nishu |
1. swap two strings, 2. reverse a string, make lowerCase to upperCase and vice-versa in a given string | Vikas Kumar |
| 1. What is string 2. What is linked list 3. What are different types of linked lists 3. What is difference between stack and queue 4. Implement a code to check whether the string is pelindrome or not 5. Implement a code to check the duplicate characters in string and find the count of them | Shivam Singh |
| How you create String object | Akash Kumar Soni |
| Why String is immutable | Akash Kumar Soni |
| Difference between String Buffer and Builder | Akash Kumar Soni |
| What is String constant pool | ------- |
| Write a program to reverse the string using recursion | -------- |
| Write a Program to reverse the string using string builder | ------ |
| What is Linked List | ------- |
| Write a program remove duplicate elements from linked list | -------- |
| Write a program to count integers from given string | -------- |
| What is stack | --------- |
| Diff between LIFO and FIFO | ---------- |
| What is Queue | ------ |
| What is Circular Queue | Akash Kumar Soni |
| What is priority queue | |
| merge sort | subham bajpai |
| triple sum | subham bajpai |
| Create a linked list with addNode, printList and reverseList methods | Ashish Keshri |
| Check whether strings are anagrams or not. | Ashish Keshri |
| Ashish Keshri | |
| Ashish Keshri | |
| 1. Implement Linked List | Rishikesh Puri |
| 2. Reverse Linked List | Rishikesh Puri |
| 3. Remove middle element from Stack | Rishikesh Puri |
| What is Linked list whats purpose of it | Himanshu Manu Udhwani |
| - Advantages and disadvantages of Linked list | |
| - Difference between singly and doubly Linked list | |
| - What is difference between Array and linked List | |
| -Difference between linear and non linear data structure | |
| -What is stack ? Operations of stack | |
| -What is queue ? Operations of queue | |
| - Difference between Stack and Queue | |
| - Coding Question asked : | |
| a.) Code to reverse a Linked List | |
| b.) Reverse a string using a Stack | |
| - Time complexity | |
| Given two strings, find if string 1 is present in string | Sahil Sarpal |
| 1. Explain about strings and how to create strings? | chandra praksha |
| 2. Write a program to check characters of two strings are same or not? | |
| 3. Explain about linked list and its. diff. types? | |
| 4. How to add a new node at a given position in linked list? | |
| 5. Explain about stack and queue and their methods? Diff. between pop and peek? | |
| 6. How to reverse a string using stack? | |
| A sentence is a list of words that are separated by a single space with no leading or trailing spaces. | Niharika Nishu |
| You are given an array of strings sentences, where each sentences[i] represents a single sentence. | |
| Return the maximum number of words that appear in a single sentence. | |
| Given the head of a singly linked list, return true if it is a palindrome or false otherwise. | |
| 1) What is Strings In java | Manikantha s |
| 2) Write a program to remove the special characters in a String | Manikantha s |
| 3) Write a program to reverse a string using Stack | Manikantha s |
| 4) Mention some difference between Array and Stack | Manikantha s |
| L What is DSA | Sudhanshu Sekhar |
| Difference between stack and queue | Sudhanshu Sekhar |
| Implementation of reverse the linked list l | Sudhanshu Sekhar |
| Check for balanced parentheses | Sudhanshu Sekhar |
| 1. Given the head of a singly linked list, reverse the list and return the reversed list. | Rishikesh Puri |
| 2. Delete middle element from stck | Rishikesh Puri |
| 3. Balanced Brackets | Rishikesh Puri |
| https://leetcode.com/problems/reverse-linked-list/submissions/ | mandeep |
| https://leetcode.com/problems/palindrome-linked-list/submissions/ | mandeep |
| Implement Stack | tarun |
| Valid palindrome leetcode | tarun |
No comments:
Post a Comment