About 21 results
Open links in new tab
  1. python - Candies Distribution Problem NPTEL. Display a single …

    Apr 10, 2021 · Candies Distribution Problem NPTEL. Display a single integer indicating the minimum number of moves required to equalize the size of each packet? Asked 4 years, 2 months ago Modified 4 years, 2 months ago Viewed 459 times

  2. How can I find the time complexity of an algorithm?

    Well the complexity in the brackets is just how long the algorithm takes, simplified using the method I have explained. We work out how long the algorithm takes by simply adding up the number of machine instructions it will execute. We can simplify by only looking at the busiest loops and dividing by constant factors as I have explained.

  3. html - Python to save webpages in pdf format - Stack Overflow

    Apr 1, 2017 · You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation and how do I get it? Instead, you can save this post to reference later.

  4. Lexicographically smallest palindrome in python - Stack Overflow

    Oct 3, 2018 · Yes, It is from NPTEL, why would I deny it. FYI, I did try my own codes, but I just couldn't get the hang of it, and I tried searching on the Internet to this particular question.

  5. javascript - Authentication middleware applies to all routes in my …

    Jun 14, 2023 · I created a requireAuth middleware and imported it to app.js, In app.js I have also imported all the routes from routes folder. In each each route.js file I have multiple chained routes. When I use...

  6. image and text content in components.html () - Stack Overflow

    May 12, 2024 · I want to display an image and some text below it, using components.html (). But text is not getting displayed below the image. Following is the code: import streamlit as st import streamlit.compone...

  7. Error in defining a custom analyzer in elasticsearch for query

    Mar 31, 2020 · I am trying to make a custom analyzer for querying to my elasticsearch index. I am using PHP for the web interface. Here is my code in fetch_nptel.php file which fetches data from the index: <?...

  8. java - Default members of an public class - Stack Overflow

    Feb 9, 2021 · I am learning core java from NPTEL courses in that course during the lecture about access specifier they had told us that &quot;When a class is public all its members with default access specifier ...

  9. reactjs - Vosk Model is not Loading - Stack Overflow

    Mar 9, 2025 · I am Using vosk_model_en_in_0.5 (1GB) 36.12 (NPTEL Pure) Generic Indian English model for telecom and broadcast. And i have checked that the model is fully extracted and has all the required files.

  10. Python code to compute three square theorum - Stack Overflow

    Feb 12, 2020 · A positive integer m can be expresseed as the sum of three squares if it is of the form p + q + r where p, q, r ≥ 0, and p, q, r are all perfect squares. For instance, 2 can be written as 0+1+1 but 7