Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. SajalJha

    Want to learn C basics ?

    Hey Freshers! 👋 I’ve talked to some of your batchmates who are having trouble getting started with C programming, and I’m thinking of conducting a workshop on campus after college hours to help anyone who wants to learn. If you're interested in joining, please participate in the poll below so...
  2. SajalJha

    Code Studio question

    The logic follows the binary search approach :- Steps: - Set two pointers: low at the start of the array and high at the end. Find the middle element. Check if the middle element matches k. If yes, return the index. If not, determine which side of the array is sorted (either the left half or...
  3. SajalJha

    Want To Start Coding Or DSA ?

    Hey everyone! 👋 If anyone is looking to start programming from scratch—whether it’s C, Data Structures & Algorithms (DSA), or even Web Development—feel free to reach out to me! I’m here to help you get started and guide you through the basics. You can contact me on Discord or find me around...
  4. SajalJha

    Cultural Club Poll !

    We are ready to introduce some cultural club. Suggest which club should be added first.
  5. SajalJha

    Leetcode problem number 852

    class Solution { public: int peakIndexInMountainArray(vector<int>& v) { int s=0; int m; int e=v.size()-1; while(s<=e) { m=(s+(e-s)/2); if(v[m]>v[m+1] && v[m]>v[m-1]) return m; else if(v[m+1]>v[m])...
  6. SajalJha

    leetcode problem no. 66 plus one

    There are a few issues in your code. Accessing array elements incorrectly: In the line sum=sum*10+digits;, you're trying to add the entire array digits to sum. You should be adding individual elements from the digits array, i.e., digits. Array resizing: When you try to declare a new array...
  7. SajalJha

    C Programming Roadmap

    C Programming Roadmap 1. Introduction to C Programming Why C? – Learn about the importance of C and its applications. Setting up the Environment: Install a C compiler (like GCC) and an IDE (like Code::Blocks or Visual Studio Code). Hello World Program: Your first C program to understand the...
  8. SajalJha

    DSA ROADMAP For Beginners.

    DSA ROADMAP 1. Basics of Programming Languages: Choose a language like C++, Java, or Python. Key Concepts: Variables, Data Types Loops (for, while) Conditional Statements (if-else, switch) Functions and Recursion Time and Space Complexity (Big-O Notation) 2. Basic Data Structures Arrays...
  9. SajalJha

    Introduction & Rules For Competitive Programming Club

    Competitive Programming Club Introduction Club Overview: The Competitive Programming Club is dedicated to students passionate about problem-solving and coding. Our club focuses primarily on Data Structures and Algorithms (DSA), Dynamic Programming (DP), and Competitive Programming (CP) using...
Back
Top